Property TextStyle
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
TextStyle
Gets or sets the text style of the text, as AutoCAD's TextStyleId gives its id: the record of
TextStyleName in the text style table of the text's drawing; null where it has none of that name, or the
text is in no drawing and was made in code. text.TextStyle = db.TextStyleTable["GH_TXT"] writes 7 GH_TXT.
public DxfTextStyleTableRecord TextStyle { get; set; }
Property Value
Exceptions
- ArgumentNullException
Thrown when the style set is null.
- ArgumentException
Thrown when the style set is erased, in no drawing, or of another drawing than the text's.
- InvalidOperationException
Thrown when the text is erased.