Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

6eb1decb 1660 7471 7b6c 35551b46921e

haplokuon edited this page Jun 28, 2023 · 2 revisions

TextStyle(String, String, FontStyle) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the TextStyle class exclusively to be used with true type fonts.

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public TextStyle(
	string name,
	string fontFamily,
	FontStyle fontStyle
)

VB

Public Sub New ( 
	name As String,
	fontFamily As String,
	fontStyle As FontStyle
)

C++

public:
TextStyle(
	String^ name, 
	String^ fontFamily, 
	FontStyle fontStyle
)

F#

new : 
        name : string * 
        fontFamily : string * 
        fontStyle : FontStyle -> TextStyle

Parameters

  String
Text style name.
  String
True type font family name.
  FontStyle
True type font style.

Remarks

This constructor is to be use only with true type fonts.

See Also

Reference

TextStyle Class
TextStyle Overload
netDxf.Tables Namespace

Clone this wiki locally