Comprehensive Guide for Developers: Features, Integration, and API Reference
The PDF Document Assembler API. More...
Go to the source code of this file.
Macros | |
#define | PDF_DOCASSEMBLER_API PDFSDK_IMPORT_ |
Typedefs | |
typedef struct PDFDocumentAssemblerRec_ * | PDFDocumentAssembler |
The opaque handle to the PDFDocumentAssembler object. | |
Functions | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerCreate (PDFDocumentAssembler *pAssembler) |
Creates a new PDFDocumentAssembler object. | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerAddPages (PDFDocumentAssembler assembler, PDDoc sourceDoc, const PDPageRange *sourcePageIndices) |
Adds a document to the PDFDocumentAssembler object. | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerAddImage (PDFDocumentAssembler assembler, GXBitmap bitmap) |
Adds an image to the PDFDocumentAssembler object. | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerAddImageFromFile (PDFDocumentAssembler assembler, const wchar_t *filePath) |
Adds an image to the PDFDocumentAssembler object. | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerAddImageFromMemory (PDFDocumentAssembler assembler, const void *data, size_t size) |
Adds an image to the PDFDocumentAssembler object. | |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV | PDFDocumentAssemblerAssemble (PDFDocumentAssembler assembler, PDDoc *pResultDoc) |
Assembles the documents added to the PDFDocumentAssembler object. | |
The PDF Document Assembler API.
The PDF Document Assembler API provides functionality to assemble PDF documents from multiple sources. The API allows you to add pages from existing documents and images to a new document. The resulting document can be saved to a file or used for further processing. The API is designed to be used in conjunction with the PDF SDK Core API.
typedef struct PDFDocumentAssemblerRec_* PDFDocumentAssembler |
The opaque handle to the PDFDocumentAssembler object.
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImage | ( | PDFDocumentAssembler | assembler, |
GXBitmap | bitmap ) |
Adds an image to the PDFDocumentAssembler object.
[in] | assembler | The PDFDocumentAssembler object. |
[in] | bitmap | The image to add. |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImageFromFile | ( | PDFDocumentAssembler | assembler, |
const wchar_t * | filePath ) |
Adds an image to the PDFDocumentAssembler object.
[in] | assembler | The PDFDocumentAssembler object. |
[in] | filePath | The path to the image file to add. |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImageFromMemory | ( | PDFDocumentAssembler | assembler, |
const void * | data, | ||
size_t | size ) |
Adds an image to the PDFDocumentAssembler object.
[in] | assembler | The PDFDocumentAssembler object. |
[in] | data | The image data. |
[in] | size | The size of the image data. |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddPages | ( | PDFDocumentAssembler | assembler, |
PDDoc | sourceDoc, | ||
const PDPageRange * | sourcePageIndices ) |
Adds a document to the PDFDocumentAssembler object.
[in] | assembler | The PDFDocumentAssembler object. |
[in] | sourceDoc | The document to add. |
[in] | sourcePageIndices | The page range to add. Pass NULL to add all pages. |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAssemble | ( | PDFDocumentAssembler | assembler, |
PDDoc * | pResultDoc ) |
Assembles the documents added to the PDFDocumentAssembler object.
[in] | assembler | The PDFDocumentAssembler object. |
[out] | resultDoc | A pointer to a variable that will receive the assembled document. |
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerCreate | ( | PDFDocumentAssembler * | pAssembler | ) |
Creates a new PDFDocumentAssembler object.
[out] | assembler | A pointer to a variable that will receive the new PDFDocumentAssembler object. |