SwitchLayer()
Switches the visibility of two layers.
Synopsis
SwitchLayer(int LayerNo1, int LayerNo2);
Parameters
Parameter | Description |
---|---|
LayerNo1 | Layer to be hidden |
LayerNo2 | Layer to be displayed |
Return value
None
Description
The function SwitchLayer() switches the visibility of two layers. LayerNo1 is hidden and LayerNo2 is displayed.
Example
Hides Layer 1 and displays Layer 3 in the current panel.
main()
{
SwitchLayer(1, 3);
}
Assignment
panel.ctl
Availability
UI