Table of Contents

Method GetLastVertex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetLastVertex(int)

Gets the last vertex of a leader line, as AutoCAD's GetLastVertex: the point of its leader the dogleg starts at (10 of the leader); where the leader meets the words on their left or right and its dogleg is not drawn (no EnableDogleg, or its leader lines splined), the end the dogleg would have, which the line runs on to, as AutoCAD 2021 gives it: a line from (0, 0, 0) whose leader's dogleg of 8 starts at (90, 48, 0) ends at (98, 48, 0) once the dogleg is taken away.

public GeoPoint3 GetLastVertex(int leaderLineIndex)

Parameters

leaderLineIndex int

The index of the line.

Returns

GeoPoint3

The vertex.

Exceptions

ArgumentOutOfRangeException

Thrown when the MULTILEADER has no line of the index.