FOM Reference > Content > Format Controls > fDocumentPropertyPDF interface
  
fDocumentPropertyPDF interface
PDF properties for this document.
IVShow enumeration
Which panels to show when opening the PDF.
The IVShow enumeration has the following constants of type DOMString.
IVSHOW_NONE = "UseNone"
Show no panels.
IVSHOW_BOOKMARKS = "UseOutlines"
Show the bookmarks panel.
IVSHOW_PAGES = "UseThumbs"
Show the pages panel.
IVSHOW_LAYERS = "UseOC"
Show the layers panel.
IVSHOW_ATTACHMENTS = "UseAttachments"
Show the attachments panel.
IVSHOW_FULLSCREEN = "FullScreen"
Open the document in full screen mode.
IVPageLayout enumeration
Which page layout to use when opening the PDF.
The IVPageLayout enumeration has the following constants of type DOMString.
IVPAGELAYOUT_SINGLE = "SinglePage"
Use single page mode.
IVPAGELAYOUT_CONTINUOUS = "OneColumn"
Use continuous page mode.
IVPAGELAYOUT_FACING = "TwoPageRight"
Use facing page mode.
IVPAGELAYOUT_CONTINUOUSFACING = "TwoColumnRight"
Use continuous facing page mode.
IVMagnification enumeration
Which zoom level to use when opening the PDF.
The IVMagnification enumeration has the following constants of type DOMString.
IVMAGNIFICATION_DEFAULT = ""
Use the default zoom level.
IVMAGNIFICATION_6400 = "6400"
Use 6400% zoom.
IVMAGNIFICATION_3200 = "3200"
Use 3200% zoom.
IVMAGNIFICATION_2400 = "2400"
Use 2400% zoom.
IVMAGNIFICATION_1600 = "1600"
Use 1600% zoom.
IVMAGNIFICATION_800 = "800"
Use 800% zoom.
IVMAGNIFICATION_400 = "400"
Use 400% zoom.
IVMAGNIFICATION_200 = "200"
Use 200% zoom.
IVMAGNIFICATION_150 = "150"
Use 150% zoom.
IVMAGNIFICATION_100 = "100"
Use 100% zoom.
IVMAGNIFICATION_75 = "75"
Use 75% zoom.
IVMAGNIFICATION_50 = "50"
Use 50% zoom.
IVMAGNIFICATION_25 = "25"
Use 25% zoom.
IVMAGNIFICATION_FITPAGE = "FitWindow"
Fit the document in the window.
IVMAGNIFICATION_FITWIDTH = "FitWidth"
Fit the width of the document in the window.
IVMAGNIFICATION_FITHEIGHT = "FitHeight"
Fit the height of the document in the window.
IVMAGNIFICATION_FITVISIBLE = "FitVisibleWindow"
Fit the visible area of the document in the window.
IVWindow enumeration
What size to make the window when opening the PDF.
The IVWindow enumeration has the following constants of type DOMString.
IVWINDOW_FITPAGE = "FitWindow"
Resize window to initial page.
IVWINDOW_CENTER = "CenterWindow"
Center window on screen.
IVInterface enumeration
What interface controls to hide when opening the PDF.
The IVInterface enumeration has the following constants of type DOMString.
IVINTERFACE_HIDEMENU = "HideMenubar"
Hide the menu bar.
IVINTERFACE_HIDETOOLBARS = "HideToolbar"
Hide the tool bars.
IVINTERFACE_HIDEWINDOWUI = "HideWindowUI"
Hide the window UI.
author attribute
The author of the document. This will override the general author property when printing to PDF.
author
Access
read-write
Returns
String
initialViewInterface attribute
How much of the interface to show when the PDF is opened.
initialViewInterface
Access
read-write
Returns
String
initialViewMagnification attribute
The zoom level to set when the PDF is opened.
initialViewMagnification
Access
read-write
Returns
String
initialViewOpenOnPage attribute
The page number to show when the PDF is opened.
initialViewOpenOnPage
Access
read-write
Returns
int
initialViewPageLayout attribute
PDF specific document properties.
initialViewPageLayout
Access
read-write
Returns
String
initialViewShow attribute
Which panels to show when the PDF is opened. Value should be one of fDocumentPropertyPDF.IVShow
initialViewShow
Access
read-write
Returns
String
initialViewWindow attribute
The size to make the window when the PDF is opened.
initialViewWindow
Access
read-write
Returns
String
keywords attribute
The keywords for the document. This will override the general keywords property when printing to PDF.
keywords
Access
read-write
Returns
String
showDocumentTitle attribute
If true, the document title will be displayed, otherwise the filename will be used.
showDocumentTitle
Access
read-write
Returns
boolean
subject attribute
The subject of the document. This will override the general subject property when printing to PDF.
subject
Access
read-write
Returns
String
title attribute
The title of the document. This will override the general title property when printing to PDF.
title
Access
read-write
Returns
String