Constructor DxfFontDescriptor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfFontDescriptor(string, bool, bool, int, int)
Initializes a font, as AutoCAD's FontDescriptor(typeFace, bold, italic, characters, pitchAndFamily).
public DxfFontDescriptor(string typeFace, bool bold, bool italic, int characters, int pitchAndFamily)
Parameters
typeFacestringThe name of the typeface, such as
Arial; empty for none.boldboolWhether it is bold.
italicboolWhether it is italic.
charactersintThe character set, as Windows numbers it: 0 for ANSI, 1 the default.
pitchAndFamilyintThe pitch and family, as Windows numbers them: 34 for Arial (variable pitch, swiss).
Exceptions
- ArgumentOutOfRangeException
Thrown when the character set or the pitch and family is not from 0 to 255.