Table of Contents

Method SetArrowSize

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetArrowSize(int, double)

Gives a leader line's arrow a size of its own, as AutoCAD's SetArrowSize of a line: its group 40 written and bit 16 of its flags (93) set, from R2010; a line of a multileader of arrows 4 long given 2.5 reads 2.5, the others 4. The size is unscaled, as ArrowSize is: Explode() draws it times the Scale, a line given 4.5 on a multileader of scale 2 drawn 9. The size the arrow has already is written and flagged all the same, as AutoCAD 2021 writes it, from R2010.

public void SetArrowSize(int leaderLineIndex, double arrowSize)

Parameters

leaderLineIndex int

The index of the line.

arrowSize double

The size, nought or more.

Exceptions

ArgumentOutOfRangeException

Thrown when the MULTILEADER has no line of the index, or the size is below nought or not finite.

InvalidOperationException

Thrown in a file older than R2010 (AC1024), or when the MULTILEADER is erased.