Previous Document Next Document

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


CorelScript.SetLayerPrintable

Function SetLayerPrintable(Printable As Boolean, LayerName As String, PageNum As Long) As Long

Description

Member of CorelScript

The SetLayerPrintable method enables or disables the printing of objects on the current layer.

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

Parameter
Description
Printable
Specifies whether the current layer is printable. True (-1) enables the printing of the layer, while False (0) disables 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.