Previous Document Next Document
Layer.Visible

Property Visible As Boolean

Member of Layer

The Visible property returns or sets the visibility status of a layer and all shapes on the layer.

If the Visible property is set the True, the layer is visible.

The following code example shows a warning message if the current layer is invisible:

Sub Test() 
 If Not ActiveLayer.Visible Then 
  MsgBox "The Current Layer is invisible!" 
 End If 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.