Table of Contents

Property Linetype

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Linetype

Gets or sets the name of the linetype of the layer in the viewport, as AutoCAD's LinetypeObjectId names it: the linetype the override names by handle, else the layer's LinetypeName.

public string Linetype { get; set; }

Property Value

string

Set, the name of a linetype of the drawing's table, letters of either case the same, written by its handle.

Exceptions

ArgumentNullException

Thrown when the name set is null.

ArgumentException

Thrown when the drawing has no linetype of the name set, or it is ByLayer or ByBlock.

InvalidOperationException

Thrown when the layer or the viewport is erased or in no file, they are of two files, or the file is older than R2000 (AC1015).