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.getPageSize
: Get the size of the specified page.getPageRotation
: Get the default rotation for the specified page.getPageUserUnit
: Get the UserUnit scaling factor for the specified page.getFormType2
: Get the type of form in the PDF file.okToExtractText
: Check to see if the PDF file allows text extraction.okToPrint
: Check to see if the PDF file allows printing.okToChange
: Check to see if the PDF file allows changing.okToAddNotes
: Check to see if the PDF file allows adding notes.isTagged
: Check to see if the PDF file is tagged.pdfVersion
: Get the PDF version number.fileIsDamaged
: Check to see if the PDF file is damaged.usesJavaScript
: Returns true if the PDF document uses JavaScript.
Text-type Info Entries
getInfoString
: Get the content of a document info field.title
: Get the document title.subject
: Get the document subject.keywords
: Get the document keywords.author
: Get the document author.creator
: Get the document creator.producer
: Get the document producer.
Date-type Info Entries
getInfoDate
: Parse a document info field as a date.getCreationDate
: Get file creation date.getModificationDate
: Get file modification date.
Scanning the Info Entries
numInfoFields
: Get the number of document info fields available in the PDF file.getInfoFieldName
: Get the name of a specified info field.
Metadata Stream
getMetadata
: Get the document-level metadata stream.
Miscellaneous
textEncoding
: Set the encoding to use for text output.