Table of Contents

Method SetDashLengthAt

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetDashLengthAt(int, double)

Sets the length of a dash of the pattern, as AutoCAD's SetDashLengthAt: its group 49; the length of the pattern is kept as it is, as AutoCAD keeps it.

public void SetDashLengthAt(int index, double value)

Parameters

index int

The dash, from nought to NumDashes less one.

value double

Its length: above nought a dash, below nought a gap, nought a dot.

Exceptions

ArgumentOutOfRangeException

Thrown when the index is out of the pattern, or the length is not a finite number.

InvalidOperationException

Thrown when the linetype is erased.