Functions
Setup & configuration
pdfInitLibrary
: Initialize the library.pdfCloseLibrary
: Free all resources allocated by pdfInitLibrary.pdfLibraryVersion
: Retrieve the library version number.pdfSetConfig
: Process a configuration command.
Opening & closing PDF files
pdfLoadFile
: Load a PDF file from disk.pdfLoadFileW
: Load a PDF file from disk with a Unicode file name.pdfLoadFileWithPassword
: Load a PDF file from disk, with a password.pdfLoadFileWithPasswordW
: Load a PDF file from disk with a Unicode file name, with a password.pdfLoadMem
: Load a PDF file from a memory buffer.pdfLoadMemWithPassword
: Load a PDF file from a memory buffer, with a password.pdfFree
: Free all memory associated with a PDF handle.
PDF file information
pdfGetNumPages
: Get the number of pages.pdfGetPageWidth
: Get the width of the specified page.pdfGetPageHeight
: Get the height of the specified page.pdfGetPageBoxXMax
: Get the maximum x coordinate of the specified page box.pdfGetPageBoxXMin
: Get the minimum x coordinate of the specified page box.pdfGetPageBoxYMax
: Get the maximum y coordinate of the specified page box.pdfGetPageBoxYMin
: Get the minimum y coordinate of the specified page box.pdfGetPageBounds
: Get the bounds of the specified page.pdfGetPageRotation
: Get the default rotation for the specified page.pdfGetPageUserUnit
: Get the UserUnit scaling factor for the specified page.pdfGetFormType2
: Get the type of form in the PDF file.pdfOkToExtractText
: Check to see if the PDF file allows text extraction.pdfOkToPrint
: Check to see if the PDF file allows printing.pdfOkToChange
: Check to see if the PDF file allows changing.pdfOkToAddNotes
: Check to see if the PDF file allows adding notes.pdfFileIsDamaged
: Check to see if the PDF file is damaged.pdfGetViewerPreference
: Return an entry from the ViewerPreferences dictionary.pdfUsesJavaScript
: Returns non-zero if the PDF document uses JavaScript.
Color & transparency usage
pdfCheckPageColorUsage
: Analyze a page for color usage.pdfGetNumColorSpaces
: Get the number of PDF color space types.pdfGetColorSpaceName
: Get the name of a PDF color space type.pdfGetNumColorSpaceObjects
: Get the number of objects drawn in a particular color space type.pdfCheckPageTransparencyUsage
: Analyze a page for transparency usage.
Color management
pdfEnableColorManagement
: Enable or disable color management for one document.pdfSetGrayOutputProfile
: Set the gray output profile for one document.pdfSetRGBOutputProfile
: Set the RGB output profile for one document.pdfSetCMYKOutputProfile
: Set the CMYK output profile for one document.
Generating image files
pdfWritePageBitmap
: Write a page to an image file.pdfWritePageBitmap2
: Write a page to an image file.pdfWriteRegionBitmap
: Write a rectangular region to an image file.pdfWriteRegionBitmap2
: Write a rectangular region to an image file.
Generating in-memory bitmaps
pdfConvertPageToBitmap
: Convert a page to a bitmap in memory.pdfConvertPageToBitmap2
: Convert a page to a bitmap in memory.pdfConvertPageToBitmap3
: Convert a page to a bitmap in memory.pdfConvertRegionToBitmap
: Convert a rectangular region to a bitmap in memory.pdfConvertRegionToBitmap2
: Convert a rectangular region to a bitmap in memory.pdfConvertRegionToBitmap3
: Convert a rectangular region to a bitmap in memory.
Image parameters
pdfResetBitmapParams
: Reset all image parameters to their default values.pdfSetRotation
: Set the image rotation.pdfSetEmbedOutputProfile
: Control embedding of ICC profile in output image.pdfSetJPEGQuality
: Set the JPEG quality level.pdfSetPNGTransparency
: Set PNG transparency support.pdfSetTIFFCompression
: Set TIFF compression mode.pdfSetTIFFBigMode
: Enable or disable 'BigTIFF' mode for TIFF output.
DeviceN bitmaps
pdfConvertPageToDeviceNImage
: Convert a page to a DeviceN image.pdfConvertPageToDeviceNImageWithAlpha
: Convert a page to a DeviceN image with an alpha channel.pdfConvertRegionToDeviceNImage
: Convert a rectangular region to a DeviceN image.pdfConvertRegionToDeviceNImageWithAlpha
: Convert a rectangular region to a DeviceN image with an alpha channel.pdfGetNumDeviceNChannels
: Get number of color channels in DeviceN image.pdfGetDeviceNChannelName
: Get the name of a DeviceN color channel.pdfGetDeviceNChannelCMYK
: Get the CMYK color of a DeviceN color channel.pdfGetDeviceNBitmap
: Get a bitmap for one DeviceN color channel.pdfGetDeviceNAlphaBitmap
: Get a bitmap for the DeviceN alpha channel.pdfResetDeviceNChannelMask
: Reset the DeviceN channel mask to all-on.pdfSetDeviceNChannelMask
: Set or clear one channel in the DeviceN channel mask.pdfGetDeviceNChannelMask
: Get the DeviceN channel mask for the specified channel.pdfRemoveDeviceNChannel
: Remove a DeviceN color channel.pdfSetDeviceNChannelCMYK
: Replace the CMYK value associated with a DeviceN channel.pdfGetDeviceNToRGBBitmap
: Convert a DeviceN image to RGB.pdfWriteDeviceNToRGBBitmap
: Convert a DeviceN image to RGB and write to an image file.pdfClearDeviceNImage
: Free memory used by a DeviceN image.pdfLoadMPDeviceNChannels
: Get the list of DeviceN color channels used on a page (multi-pass DeviceN API).pdfGetNumMPDeviceNChannels
: Get the number of DeviceN color channels used on a page (multi-pass DeviceN API).pdfGetMPDeviceNChannelName
: Get the name of a DeviceN color channel (multi-pass DeviceN API).pdfResetMPDeviceNChannelList
: Get the name of a DeviceN color channel (multi-pass DeviceN API).pdfAddMPDeviceNChannel
: Add a DeviceN color channel to the list to be rasterized (multi-pass DeviceN API).
Layers
pdfGetNumLayers
: Get the number of layers.pdfGetLayer
: Get a layer handle.pdfGetLayerName
: Get the name of a layer.pdfGetLayerVisibility
: Get the visibility state of a layer.pdfSetLayerVisibility
: Set the visibility state of a layer.pdfGetLayerViewState
: Get the suggested state of a layer for viewing mode.pdfGetLayerPrintState
: Get the suggested state of a layer for printing mode.pdfGetLayerOrderRoot
: Get the root of the layer display order tree.pdfGetLayerOrderIsName
: Check to see if a layer display order node is a name.pdfGetLayerOrderName
: Get the name of a layer display order node.pdfGetLayerOrderLayer
: Get the layer associated with a layer display order node.pdfGetLayerOrderNumChildren
: Get the number of children attached to a layer display order node.pdfGetLayerOrderChild
: Get a child of a layer display order node.
Embedded files
pdfGetNumEmbeddedFiles
: Get the number of embedded files.pdfGetEmbeddedFileName
: Get the name of an embedded file.pdfSaveEmbeddedFile
: Save an embedded file.pdfSaveEmbeddedFileW
: Save an embedded file with a Unicode file name.pdfGetEmbeddedFileMem
: Get an embedded file in a memory buffer.
Miscellaneous
pdfSetErrorCbk
: Provide a function to be called whenever an error is reported.pdfSetAbortCheckCbk
: Set the abort-check callback.pdfSetIncrementalUpdateCbk
: Set the incremental update callback.pdfSetTextEncoding
: Set the encoding to use for text output.pdfFreeMemory
: Free memory allocated by the library.