Table of Contents

Method SetVertex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetVertex(int, int, GeoPoint3)

Moves a vertex of a leader line, as AutoCAD's SetVertex: one of its own; the last, the end of its leader's landing (GetLastVertex(int)), which moves the end of every line of the leader with it, and, for a leader on a side of the content, the words or block and the landings of the other leaders on a side by as much, as AutoCAD 2021 moves them: words "ABC" at (100, 50, 0) met from (90, 48, 0), the last vertex set to (50, 60, 0), stand at (60, 62, 0).

public void SetVertex(int leaderLineIndex, int index, GeoPoint3 point)

Parameters

leaderLineIndex int

The index of the line.

index int

The index of the vertex, from nought.

point GeoPoint3

Where it is to be, in the world.

Exceptions

ArgumentOutOfRangeException

Thrown when there is no line or vertex of the index.

ArgumentException

Thrown when a coordinate is not a finite number.

InvalidOperationException

Thrown when the MULTILEADER is erased.