Table of Contents

Method VerticesCount

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

VerticesCount(int)

Gets how many vertices a leader line has, as AutoCAD's VerticesCount: its own (10 of the line), then the end of its leader's landing (GetLastVertex(int)), which every line of the leader ends at; its own alone where the leader has no landing yet (AddLeader()), none for a line just added to it, as AutoCAD 2021 counts them.

public int VerticesCount(int leaderLineIndex)

Parameters

leaderLineIndex int

The index of the line.

Returns

int

The count.

Exceptions

ArgumentOutOfRangeException

Thrown when the MULTILEADER has no line of the index.