Table of Contents

Method AddLastVertex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

AddLastVertex(int, GeoPoint3)

Adds a vertex after the last of a leader line, as AutoCAD's AddLastVertex: it becomes the end of the leader's landing (GetLastVertex(int)), the old one a vertex of the line, and every line of the leader ends at it. On a line of a leader of no landing yet it becomes the landing, as AddFirstVertex(int, GeoPoint3) says.

public void AddLastVertex(int leaderLineIndex, GeoPoint3 point)

Parameters

leaderLineIndex int

The index of the line.

point GeoPoint3

The vertex, in the world.

Exceptions

ArgumentOutOfRangeException

Thrown when the MULTILEADER has no line of the index.

ArgumentException

Thrown when a coordinate is not a finite number.

InvalidOperationException

Thrown when the MULTILEADER is erased.