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
databaseDxfDatabaseThe drawing.
namestringThe 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.