SetLayers

Top  Previous  Next

 

SetLayers (Method)

 

Sets the names and status for all the drawing layers

 

Syntax:

Function SetLayers(sLayerNames() As String, iLayerStatus() As Short) As Boolean

 

The SetLayers 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:

Boolean - True on success, false on error.

 

Remarks:

Every drawing has 256 layers (from 0 to 255)

 

Example