Table of Contents

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

typeFace string

The name of the typeface, such as Arial; empty for none.

bold bool

Whether it is bold.

italic bool

Whether it is italic.

characters int

The character set, as Windows numbers it: 0 for ANSI, 1 the default.

pitchAndFamily int

The 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.