FOM Reference > Content > PDF Controls > fPDFLayer interface
  
fPDFLayer interface
This object specifies the options available for a PDF Layer. PDF Layers are not available when creating a PDF below version 1.5 or with PDF/X. Any changes to a fPDFLayer object during printing will be ignored until the next print starts. This object inherits from fControl.
PageElements enumeration
The possible elements contained on this layer.
The PageElements enumeration has the following constants of type int.
LAYER_NORMAL = 0
This is a normal PDF Layer.
LAYER_HEADFOOT = 1
This layer is used for headers or footers.
LAYER_FOREGROUNDIMAGE = 2
This layer is used for foreground images.
LAYER_BACKGROUNDIMAGE = 3
This layer is used for background images.
LAYER_LOGO = 4
This layer is used for logos.
exportState attribute
If true, this layer will be included when the PDF is converted or exported using Adobe Acrobat.
exportState
Access
read-write
Returns
boolean
onPanel attribute
If true, this layer will be visible in the Layer pane in Adobe Acrobat.
onPanel
Access
read-write
Returns
boolean
pageElement attribute
The type of content on this layer. Possible values are in fPDFLayer-PageElements.
pageElement
Access
read-write
Returns
int
pdfName attribute
If true, this layer will be visible by default.
pdfName
Access
read-write
Returns
String
printState attribute
If true, this layer will be included when the PDF is printed.
printState
Access
read-write
Returns
boolean
viewState attribute
If true, this layer will be visible when the PDF is opened.
viewState
Access
read-write
Returns
boolean
visibleState attribute
If true, this layer will be visible by default.
visibleState
Access
read-write
Returns
boolean
watermark attribute
If true, this layer contains a watermark.
watermark
Access
read-write
Returns
boolean