PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
document_assembler.h
Go to the documentation of this file.
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_DOCUMENT_ASSEMBLER_H_INCLUDED_
4#define PDFSDK_DOCUMENT_ASSEMBLER_H_INCLUDED_
5
18#include <pdfsdk/core.h>
19#include <pdfsdk/graphics.h>
20
21#ifdef PDF_DOCASSEMBLER_EXPORTS
22#define PDF_DOCASSEMBLER_API PDFSDK_EXPORT_
23#else
24#define PDF_DOCASSEMBLER_API PDFSDK_IMPORT_
25#endif
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
35typedef struct PDFDocumentAssemblerRec_* PDFDocumentAssembler;
36
42PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerCreate(PDFDocumentAssembler* pAssembler);
43
51PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddPages(PDFDocumentAssembler assembler, PDDoc sourceDoc, const PDPageRange* sourcePageIndices);
52
59PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImage(PDFDocumentAssembler assembler, GXBitmap bitmap);
60
67PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImageFromFile(PDFDocumentAssembler assembler, const wchar_t* filePath);
68
76PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImageFromMemory(PDFDocumentAssembler assembler, const void* data, size_t size);
77
84PDF_DOCASSEMBLER_API PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAssemble(PDFDocumentAssembler assembler, PDDoc* pResultDoc);
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif // PDFSDK_DOCUMENT_ASSEMBLER_H_INCLUDED_
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.
struct PDFDocumentAssemblerRec_ * PDFDocumentAssembler
The opaque handle to the PDFDocumentAssembler object.
Definition document_assembler.h:35
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAddImage(PDFDocumentAssembler assembler, GXBitmap bitmap)
Adds an image to the 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 PDFDocumentAssemblerCreate(PDFDocumentAssembler *pAssembler)
Creates a new PDFDocumentAssembler object.
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFDocumentAssemblerAssemble(PDFDocumentAssembler assembler, PDDoc *pResultDoc)
Assembles the documents added to the PDFDocumentAssembler object.
int32_t PDErrCode
Definition errors.h:44
Graphics API.
Definition document.h:37