Functions/Properties
Setup & configuration
componentVersion
: Retrieve the component version number.setConfig
: Process a configuration command.
Opening & closing PDF files
loadFile
: Load a PDF file from disk.loadFileWithPassword
: Load a PDF file from disk, with a password.loadStream
: Load a PDF file from an OLE IStream object.loadStreamWithPassword
: Load a PDF file from an OLE IStream object, with a password.closeFile
: Close the currently open PDF file.
PDF file information
numPages
: Get the number of pages.getPageWidth
: Get the width of the specified page.getPageHeight
: Get the height of the specified page.getPageBoxXMax
: Get the maximum x coordinate of the specified page box.getPageBoxXMin
: Get the minimum x coordinate of the specified page box.getPageBoxYMax
: Get the maximum y coordinate of the specified page box.getPageBoxYMin
: Get the minimum y coordinate of the specified page box.getPageRotation
: Get the default rotation for the specified page.getPageUserUnit
: Get the UserUnit scaling factor for the specified page.okToPrint
: Check to see if the PDF file allows printing.fileIsDamaged
: Check to see if the PDF file is damaged.checkPageColorUsage
: Analyze a page for color usage.usesJavaScript
: Returns true if the PDF document uses JavaScript.
Converting to PostScript
convertToPSFile
: Convert a PDF file to a PostScript file.convertToPSStream
: Convert a PDF file to a stream.
PostScript parameters
paperType
: Set the PostScript paper type.setPaperSize
: Set the PostScript paper size.mode
: Set the PostScript mode.modePS
: Normal PostScript mode.modeEPS
: Encapsulated PostScript (EPS) mode.modePSForm
: PostScript form mode.level
: Set the PostScript level.level1
: Level 1 PostScript.level1Sep
: Level 1 separable PostScript.level2
: Level 2 PostScript.level2Gray
: grayscale Level 2 PostScript.level2Sep
: Level 2 separable PostScript.level3
: Level 3 PostScript.level3Gray
: grayscale Level 3 PostScript.level3Sep
: Level 3 separable PostScript.embedType1Fonts
: Enable/disable embedding of Type 1 fonts.embedTrueTypeFonts
: Enable/disable embedding of TrueType fonts.embedCIDPostScriptFonts
: Enable/disable embedding of CID PostScript fonts.embedCIDTrueTypeFonts
: Enable/disable embedding of CID TrueType fonts.generateOPIComments
: Enable/disable generation of OPI comments.honorUserUnit
: Control use of the UserUnit setting.
Inserting custom PostScript code
setCustomDocSetup
: Insert custom PostScript code in the DocSetup section.
Layers
getNumLayers
: Get the number of layers.getLayer
: Get a layer handle.getLayerName
: Get the name of a layer.getLayerVisibility
: Get the visibility state of a layer.setLayerVisibility
: Set the visibility state of a layer.getLayerViewState
: Get the suggested state of a layer for viewing mode.getLayerPrintState
: Get the suggested state of a layer for printing mode.getLayerOrderRoot
: Get the root of the layer display order tree.getLayerOrderIsName
: Check to see if a layer display order node is a name.getLayerOrderName
: Get the name of a layer display order node.getLayerOrderLayer
: Get the layer associated with a layer display order node.getLayerOrderNumChildren
: Get the number of children attached to a layer display order node.getLayerOrderChild
: Get a child of a layer display order node.
Embedded files
getNumEmbeddedFiles
: Get the number of embedded files.getEmbeddedFileName
: Get the name of an embedded file.saveEmbeddedFile
: Save an embedded file.