Macro Language Reference > PIs > Text > <?layer>
  
<?layer>
Description
This command controls the use of inline page layers on the current page.
Syntax
<?layer layer_name:s switch:o force:o? show:sw?>
layer_name
Name of the layer
switch
0
Activate layer
1
Deactivate layer
force
0
Do not force use on current page
1
Force use on current page
show
The processing instruction can take a fourth parameter: a showstring. The showstring specified in this parameter will be displayed if the layer cannot be applied to the current page. It will be ignored if the layer is applied as requested.
Additional Information
 
When using <?layer> to control under/overlay modes it is important to note that:
The layer must already exist.
The layers only apply to the page for which they are specified.
The layers will not be applied to any following pages during an autocopy operation.
Ordinary layers cannot be controlled via this PI.
When creating a layer, a parameter value of ? is required by the mode parameter of tplay. In other words, the Mode entry field in the Add/Remove Over/Underlay dialog box must be set to Controlled by <?layer>. For more information see tplay.
Related Links