Table of Contents

Method SetTextAttachmentType

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetTextAttachmentType(DxfTextAttachmentType, DxfLeaderDirectionType)

Sets where the leaders of a side meet the words, as AutoCAD's SetTextAttachmentType: the left (group 174), the right (178), the top (273) or the bottom (272).

public void SetTextAttachmentType(DxfTextAttachmentType textAttachmentType, DxfLeaderDirectionType leaderDirection)

Parameters

textAttachmentType DxfTextAttachmentType

Where they meet: one of DxfTextAttachmentType.

leaderDirection DxfLeaderDirectionType

The side.

Exceptions

ArgumentException

Thrown when the side is not known.

ArgumentOutOfRangeException

Thrown when the place is not one of DxfTextAttachmentType.

InvalidOperationException

Thrown when the style is erased.