Table of Contents

Property Justify

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Justify

Gets or sets the justification of the text, as AutoCAD's Justify: its HorizontalMode and VerticalMode taken together, a text centred on its middle MiddleCenter; BaseLeft where the record gives neither.

public DxfAttachmentPoint Justify { get; set; }

Property Value

DxfAttachmentPoint

Set, the modes; a text made other than left on its baseline whose record has no AlignmentPoint is given the origin as one, written 11 0 21 0 31 0, as AutoCAD 2021 wrote the TEXT at (500, 500) it made centred on its middle (check D30). HorizontalMode and VerticalMode set write it so too.

Exceptions

ArgumentOutOfRangeException

Thrown when the justification set is not one a text has, 1 to 24.

InvalidOperationException

Thrown when the text is erased.