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.pdfVersion
: Get the PDF version number.usesJavaScript
: Returns true if the PDF document uses JavaScript.
Analyzing pages
analyzePages
: Analyze one or more pages.
Accessing the statistics
getNumImages
: Get the number of images on the analyzed page(s).getNumTextStrings
: Get the number of text strings on the analyzed page(s).getNumStrokes
: Get the number of strokes on the analyzed page(s).getNumFills
: Get the number of fills on the analyzed page(s).numColorSpaces
: Get the number of PDF color space types.getColorSpaceName
: Get the name of a PDF color space type.getNumColorSpaceObjects
: Get the number of objects drawn in a particular color space type.getNumProcessColorObjects
: Get the number of objects drawn in the process colors.processC
: Cyan process color.processM
: Magenta process color.processY
: Yellow process color.processK
: Black process color.getNumCustomColors
: Get the number of custom (spot) colors.getCustomColorName
: Get the name of a custom color.getCustomColorCMYK
: Get the CMYK value of a custom color.getNumCustomColorObjects
: Get the number of objects drawn in a custom color.
Parameters
blackThreshold
: Set the threshold for black mapping.convertCustomColors
: Enable/disable conversion of custom colors to CMYK.examineImagePixels
: Enable/disable examination of image pixels.