Table of Contents

Property Fonts

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Fonts

Gets or sets the fonts the text is drawn in: off until set, every style then drawn as the canvas draws it, an SHX font in the canvas's own font. Set to fonts other than those it has, every space is drawn again, as REGEN does, and the fonts missing are said again; fonts set as the same are kept, so that a font not found is not said again. The words of a dimension in an SHX font are measured, as its picture is laid out, in the fonts of the document the dimension is in, and in no other document's; a TrueType font is measured from the Fonts folder of Windows whatever the fonts.

public CadFonts Fonts { get; set; }

Property Value

CadFonts

Exceptions

ArgumentNullException

Thrown when the value is null.