Table of Contents

Method DashesOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

DashesOf(DxfDatabase, string)

Gets the lengths of a linetype of the drawing, as its LTYPE holds them; none for Continuous or one the drawing has not.

public static IReadOnlyList<double> DashesOf(DxfDatabase database, string name)

Parameters

database DxfDatabase

The drawing.

name string

The linetype's name.

Returns

IReadOnlyList<double>

The lengths: above nought a dash, below a gap, nought a dot.

Exceptions

ArgumentNullException

Thrown when the drawing is null.