property Gauge.ShowLayers as String
Indicates the only layers to be shown on the control.

TypeDescription
String A String expression that could be:
  • "all", specifies that all visible layers are shown. The Visible property indicates the visible layers.
  • "", no layer is shown in the control, no matter of the layer's Visible property.
  • "n1,n2,n3,..." specifies the list of layers to be shown, no matter of the layer's Visible property, where n1, n2, ... are numbers ( indicating the index of the layer to be shown ). For instance "0" specifies that just the layer with the index 0 is show, "0,1,4", indicates that just layers with the specified index are displayed.
By default the ShowLayers property is "all", which indicates that all visible layers in the control are shown. The ShowLayers property indicates the only layers to be shown on the control. For instance, you can use the ShowLayers property to show only a few layers within the control. The purpose can be debugging a specified layer only for instance. The Visible property shows or hides the layer. 

The following properties can be used to access Layer objects in the control:

The following properties can be used to add layers within the control:

The following properties can be used to remove layers within the control: