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.usesJavaScript
: Returns true if the PDF document uses JavaScript.
Image information
getImages
: Scan the images on a page.numImages
: Get the number of images on a page.getImageInfo
: Get information about an image.getImageMatrix
: Get an image matrix.getImageCompression
: Get the compression filter used on an image.getImageNumComponents
: Get the number of components per pixel for an image.getImageBitsPerComponent
: Get the number of bits per component for an image.getImageDecodeRange
: Get the decode range for an image color component.
Color spaces
numColorSpaces
: Get the number of PDF color space types.getColorSpaceName
: Get the name of a PDF color space type.
Extracting images
getPicture
: Get a Picture object for an image.saveImageAsBMP
: Save an image as a BMP file.