Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.SetLayerVisible


CorelScript.SetLayerVisible

Function SetLayerVisible(Visible As Boolean, LayerName As String, PageNum As Long) As Long

Description

Member of CorelScript

The SetLayerVisible method makes the objects on a layer visible or invisible.

 
If the CorelScript.SetOptionsForAllPages method is set to True (-1), then the SetLayerPrintable method applies to all pages.

Parameter
Description
Visible
Specifies whether the current layer is visible. True (-1) displays the layer, while False (0) hides it.
LayerName
Specifies the name of the layer
PageNum
Specifies the page number. For a master page, use a value of 0.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.