Table of Contents

Property HorizontalMode

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

HorizontalMode

Gets or sets how the text stands across its point (group 72), as AutoCAD's HorizontalMode; TextLeft where the record gives none. An annotative one's is that of the context it is read at (Position), its 70, where it holds one: AutoCAD 2021 read an attribute whose record is aligned left, and whose context of 1:1 says 2, as aligned right (check D35b).

public DxfTextHorizontalMode HorizontalMode { get; set; }

Property Value

DxfTextHorizontalMode

Set, the mode; a text made other than left on its baseline is given the origin as its second point where it has none, as Justify says. An annotative one's written into the context it is read at, and into its record where that context is the default, as AutoCAD 2021 writes it.

Exceptions

ArgumentOutOfRangeException

Thrown when the mode set is not one of AutoCAD's.

InvalidOperationException

Thrown when the text is erased.