Method RemoveFirstVertex
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
RemoveFirstVertex(int)
Takes the first vertex of a leader line out, as AutoCAD's RemoveFirstVertex, down to one, the point its leader's
dogleg starts at, as AutoCAD 2021 takes it: the line from (0, 0, 0) to the words "ABC" at (100, 50, 0) is left the one
vertex (90, 48, 0), written as a line of no vertex of its own, and drawn as its dogleg alone, from (90, 48, 0) to
(98, 48, 0), with no arrow. A line keeps that vertex, which AutoCAD 2021 crashed taking out of a drawing it had read.
public void RemoveFirstVertex(int leaderLineIndex)
Parameters
leaderLineIndexintThe index of the line.
Exceptions
- ArgumentOutOfRangeException
Thrown when the MULTILEADER has no line of the index.
- InvalidOperationException
Thrown when the line has one vertex or none, or the MULTILEADER is erased.