GetLayers
MethodGetLayers (Method)
Gets the names and status for all the drawing layers
Syntax:
Function GetLayers(sLayerNames() As String, iLayerStatus() As Short) As Short
The GetLayers method syntax consists of the following:
Parameter |
Data Type |
Description |
sLayerNames() |
String |
The names of the layers |
iLayerStatus() |
Short |
The status of the layers.When the iLayerStatus value for a layer is 1 then this layer if not visible |
Return value:
Short - The number of the layers
Remarks:
Every drawing has 256 layers (from 0 to 255)