AcadLayerStateManager
AcadLayerStateManager Class
Supported Platforms: Windows only
Object Inheritance
Members
These members are part of this object:
Methods- SetDatabase
- Save
- Restore
- Delete
- Rename
- Import
- Export
- SetDatabase()
Void SetDatabase([in] Pointer Type iHostDb)
Sets the working database for the layer state manager.
- Save()
Void Save([in] BSTR bsName, AcLayerStateMaskShort eMask)
Saves the attribute mask and the state of all layers into the specified layer state.
- Restore()
Void Restore([in] BSTR bsName)
Restores the layers to the specified state as per the layer state mask.
- Delete()
Void Delete([in] BSTR bsName)
Deletes the specified layers state.
- Rename()
Void Rename([in] BSTR bsName, [in] BSTR bsNewName)
Renames the specified layers state.
- Import()
Void Import([in] BSTR bsFilename)
Imports all layer states from the specified file.
- Export()
Void Export([in] BSTR bsName, [in] BSTR bsFilename)
Exports the specified layer state to the specified file.
- Mask
Void Mask([in] AcLayerStateMask bsName)
Sets the mask used for restoring the specified layer state.
- Mask [ReadOnly]
AcLayerStateMask Mask( )
Sets the mask used for restoring the specified layer state.