Table of Contents

Class CadLayerStateLayer

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A layer of a layer state as AutoCAD's Edit Layer State lists it: the properties the state saved for it, each of which the dialog may change. The state is changed by OK; the drawing's layers are changed only when the state is restored.

public sealed class CadLayerStateLayer
Inheritance
CadLayerStateLayer
Inherited Members

Properties

Color

Gets or sets the colour: one of the index, or a true colour.

IsFrozen

Gets or sets whether the state freezes the layer.

IsLocked

Gets or sets whether the state locks the layer.

IsMissing

Gets whether the drawing has no layer of the state's: kept in the state, passed over on restore.

IsNewViewportFrozen

Gets or sets whether the state freezes the layer in new viewports.

IsOn

Gets or sets whether the state turns the layer on.

IsPlotted

Gets or sets whether the state plots the layer.

LineWeight

Gets or sets the lineweight: Default, or one of AutoCAD's widths.

Linetype

Gets or sets the linetype's name, one of the drawing's.

Name

Gets the layer's name; for a layer the drawing no longer has, the name the state keeps, or its handle.

Transparency

Gets or sets the transparency, 0 to 90 per cent.

Methods

ToString()