Method GetBreaks
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetBreaks(int)
Gets the breaks of a leader line, as AutoCAD 2021's DIMBREAK keeps them in the line (90, 11 and 12 of its LEADER_LINE): for each the segment of the line it is in and where it starts and ends, in the order the record has them. A line no DIMBREAK has touched has none.
public IReadOnlyList<DxfLeaderBreak> GetBreaks(int leaderLineIndex)
Parameters
leaderLineIndexintThe index of the line.
Returns
- IReadOnlyList<DxfLeaderBreak>
The breaks.
Exceptions
- ArgumentOutOfRangeException
Thrown when the MULTILEADER has no line of the index.