Table of Contents

Property TextStyle

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

TextStyle

Gets or sets the text style of the words (group 342), as AutoCAD's TextStyleId gives its id; null where the style names none, or one the drawing has no text style of. The style Standard of ezdxf names the text style Standard.

public DxfTextStyleTableRecord TextStyle { get; set; }

Property Value

DxfTextStyleTableRecord

Set, a text style of the style's drawing, its handle written; null takes the group out.

Exceptions

ArgumentException

Thrown when the text style set is of no drawing, or of another than the style's.

InvalidOperationException

Thrown when the style is erased.