property Layers.VisibleCount as Long
Specifies the number of visible layers.

TypeDescription
Long A Long expression that specifies the number of visible layers.
The VisibleCount property indicates the number of visible layers within the control. The VisibleItem property gives the visible layer based on its position. The Visible property shows or hides the layer. The ShowLayers property indicates the only layers to be shown on the control. The Item property of the Layers collection accesses a Layer giving its index or key. The Index property is read-only and zero-based, which indicates that the layer with the Index property 0, it is the first layer, while the layer with the index Count - 1, is the last layer in the control ( in z-order ). The Background object holds pictures to be shown on the layer's background. The Foreground property of the Layer access the layer's Foreground object. The for each statement can be used to enumerate Layer objects in the Layers cllection. 

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: