API Reference > OdDb Classes > OdDbLayerStateManager Class > OdDbLayerStateManager Enumerations > OdDbLayerStateManager::LayerStateMask Enumeration
OdDbLayerStateManager::LayerStateMask Enumeration
Syntax
C++
enum LayerStateMask { kNone = 0x0000, kOn = 0x0001, kFrozen = 0x0002, kLocked = 0x0004, kPlot = 0x0008, kNewViewport = 0x0010, kColor = 0x0020, kLineType = 0x0040, kLineWeight = 0x0080, kPlotStyle = 0x0100, kCurrentViewport = 0x0200, kTransparency = 0x0400, kAll = kOn|kFrozen|kLocked|kPlot|kNewViewport|kColor|kLineType|kLineWeight|kPlotStyle|kCurrentViewport|kTransparency, kStateIsHidden = 0x8000, kLastRestored = 0x10000, kDecomposition = kAll|0x20000 };

DbLayerState.h

Members 
Description 
kNone = 0x0000 
None 
kOn = 0x0001 
On 
kFrozen = 0x0002 
Frozen 
kLocked = 0x0004 
Locked 
kPlot = 0x0008 
Plot 
kNewViewport = 0x0010 
New viewport 
kColor = 0x0020 
Color 
kLineType = 0x0040 
Line type 
kLineWeight = 0x0080 
Line weight 
kPlotStyle = 0x0100 
Plot style 
kCurrentViewport = 0x0200 
Current viewport 
kTransparency = 0x0400 
Transparency 
kAll = kOn|kFrozen|kLocked|kPlot|kNewViewport|kColor|kLineType|kLineWeight|kPlotStyle|kCurrentViewport|kTransparency 
All 
kStateIsHidden = 0x8000 
State is hidden 
kLastRestored = 0x10000 
Last restored 
kDecomposition = kAll|0x20000 
Decomposition 

Enumeration that determines which layer attributes are to be stored in the LayerState.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.