Table of Contents

Method SetLinetype

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetLinetype(CadDocument, string, string, string)

Overrides a layer's linetype in a viewport, as the VP Linetype column: one the drawing has.

public static CadEditResult SetLinetype(CadDocument document, string viewport, string layer, string linetype)

Parameters

document CadDocument

The document.

viewport string

The handle of the viewport.

layer string

The name of the layer.

linetype string

The name of the linetype.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when the document is null.