Table of Contents

Method SetLastVertex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetLastVertex(int, GeoPoint3)

Moves the last vertex of a leader line, as AutoCAD's SetLastVertex: the point of its leader the dogleg starts at, or, where the dogleg is not drawn, that point so that the end the dogleg would have is there (GetLastVertex(int)): (98, 48, 0) set to (50, 60, 0) puts the dogleg's start at (42, 60, 0), as AutoCAD 2021 puts it. The words or block and the other landings move with it, as SetVertex(int, int, GeoPoint3) says; AddLastVertex(int, GeoPoint3) moves neither, as AutoCAD's.

public void SetLastVertex(int leaderLineIndex, GeoPoint3 point)

Parameters

leaderLineIndex int

The index of the line.

point GeoPoint3

Where it is to be, 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.