Table of Contents

Method GetTextAttachmentType

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetTextAttachmentType(DxfLeaderDirectionType)

Gets where the leaders of a side meet the words, as AutoCAD's GetTextAttachmentType: the left (group 173), the right (95), the top (273) or the bottom (272), the last two from R2010.

public DxfTextAttachmentType GetTextAttachmentType(DxfLeaderDirectionType leaderDirection)

Parameters

leaderDirection DxfLeaderDirectionType

The side.

Returns

DxfTextAttachmentType

Where they meet: AutoCAD's middle of the top line for the sides, its middle for the top and the bottom, where the record gives none.

Exceptions

ArgumentException

Thrown when the side is not known.