Method SetLeaderLineType
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetLeaderLineType(int, DxfLeaderType)
Gives a leader line a type of its own, as AutoCAD's SetLeaderLineType: its group 170 written and bit 1 of its
flags (93) set, as the DXF reference and the ODA's specification of DWG place them after its index (91), from R2010.
The type the line is drawn with already is written and flagged all the same, as AutoCAD 2021 flags it, from R2010.
public void SetLeaderLineType(int leaderLineIndex, DxfLeaderType leaderLineType)
Parameters
leaderLineIndexintThe index of the line.
leaderLineTypeDxfLeaderTypeThe type.
Exceptions
- ArgumentOutOfRangeException
Thrown when the MULTILEADER has no line of the index, or the type is not one of DxfLeaderType.
- InvalidOperationException
Thrown in a file older than R2010 (AC1024), or when the MULTILEADER is erased.