Method SetLeaderLineWeight
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetLeaderLineWeight(int, DxfLineWeight)
Gives a leader line a lineweight of its own, as AutoCAD's SetLeaderLineWeight: its group 171 written and bit 8
of its flags (93) set, from R2010. The lineweight the line is drawn with already is written and flagged all the same,
as AutoCAD 2021 flags it.
public void SetLeaderLineWeight(int leaderLineIndex, DxfLineWeight leaderLineWeight)
Parameters
leaderLineIndexintThe index of the line.
leaderLineWeightDxfLineWeightThe lineweight.
Exceptions
- ArgumentOutOfRangeException
Thrown when the MULTILEADER has no line of the index, or the lineweight is out of AutoCAD's range, -3 to 211.
- InvalidOperationException
Thrown in a file older than R2010 (AC1024), or when the MULTILEADER is erased.