Table of Contents

Property TextStyle

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

TextStyle

Gets or sets the text style of the MTEXT, as AutoCAD's TextStyleId gives its id: the record of TextStyleName in the text style table of the MTEXT's drawing; null where it has none of that name, or the MTEXT is in no drawing and was made in code.

public DxfTextStyleTableRecord TextStyle { get; set; }

Property Value

DxfTextStyleTableRecord

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 MTEXT's.

InvalidOperationException

Thrown when the MTEXT is erased.