Click or drag to resize

TextStyle Constructor (String, FontStyle)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Initializes a new instance of the TextStyle class exclusively to be used with true type fonts.

Namespace:  netDxf.Tables
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public TextStyle(
	string fontFamily,
	FontStyle fontStyle
)
Request Example View Source

Parameters

fontFamily
Type: SystemString
True type font family name.
fontStyle
Type: netDxf.TablesFontStyle
True type font style
Remarks
This constructor is to be use only with true type fonts. The fontFamily value will also be used as the name of the text style.
See Also