Functions/Properties
Setup & configuration
componentVersion
: Retrieve the component version number.
Opening & closing input PDF files
openInput
: Open an input PDF file.openInputWithPassword
: Open an input PDF file, with a password.openInputStream
: Open an input PDF file from an OLE IStream object.openInputStreamWithPassword
: Open an input PDF file from an OLE IStream object, with a password.closeInput
: Close an input PDF file.
Opening & closing output PDF files
openOutput
: Open an output PDF file.closeOutput
: Close an output PDF file.
Retrieving information about input documents
getNumPages
: Get the number of pages in an input PDF file.getPageWidth
: Get the width of an input page.getPageHeight
: Get the height of an input page.getPageRotation
: Get the default rotation for an input page.getPageUserUnit
: Get the UserUnit scaling factor for an input page.getInfo
: Get a document information dictionary entry from an input PDF file.getPDFVersion
: Get the PDF version number of an input PDF file.usesJavaScript
: Returns true if the PDF document uses JavaScript.
Adding content to output documents
addPage
: Add a page from an input PDF file to an output PDF file.addPageRotated
: Add a page from an input PDF file to an output PDF file, with a rotation.addPageRotatedCropped
: Add a page from an input PDF file to an output PDF file, with a rotation and a CropBox.addPages
: Add multiple pages from an input PDF file to an output PDF file.setInfo
: Set a document information dictionary entry in an output PDF file.setViewerPreferenceName
: Set a ViewerPreferences dictionary entry in an output PDF file.copyOptionalContentSetup
: Copy the optional content (layers) setup info from an input PDF file to an output PDF file.
Watermarks
setWatermark
: Set a watermark.watermarkOver
: Watermark flag: draw watermark over content.
Security / encryption
isEncrypted
: Check whether an input PDF file is encrypted.getPermissions
: Get the permission word from an input PDF file.permBase
: Permission bits: base value.permPrint
: Permission bits: printing.permModify
: Permission bits: general modification.permCopy
: Permission bits: copy/extract text and graphics.permAnnotate
: Permission bits: add annotations.permFormFill
: Permission bits: fill form fields.permAccessibility
: Permission bits: extract text and graphics for accessibility.permAssemble
: Permission bits: assemble the document.permPrintHQ
: Permission bits: high-quality printing.setEncryption
: Enable encryption on an output PDF file.encrypt128BitRC4
: Encryption mode: 128-bit RC4.encrypt128BitAES
: Encryption mode: 128-bit AES.
Embedded files
getNumEmbeddedFiles
: Get the number of embedded files.getEmbeddedFileName
: Get the name of an embedded file.saveEmbeddedFile
: Save an embedded file.