Previous Document Next Document

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


CorelScript.SetToMasterLayer

Function SetToMasterLayer(Master As Boolean, LayerName As String) As Long

Description

Member of CorelScript

The SetToMasterLayer method assigns the selected object to a master layer.

 
Assigning an object to a master layer ensures that it appears on each document page. This method is useful for the creation of repeating elements, such as a company logo.

Parameter
Description
Master
Specifies whether to apply the master-layer template to all layers. True (-1) enables this option, while False (0) disables it.
LayerName
Specifies the layer name

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.