PDF SDK Documentation

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

Loading...
Searching...
No Matches
pdf2image.h
Go to the documentation of this file.
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CONVERT_PDF2IMAGE_H_INCLUDED_
4#define PDFSDK_CONVERT_PDF2IMAGE_H_INCLUDED_
5
11#include <pdfsdk/core.h>
12
13#ifdef PDF_PDF2IMAGE_EXPORTS
14#define PDF_PDF2IMAGE_API PDFSDK_EXPORT_
15#else
16#define PDF_PDF2IMAGE_API PDFSDK_IMPORT_
17#endif
18
19typedef void (*PDFReplaceFileQuestionProc)(void*, const wchar_t*, bool*, bool*);
20
26 const wchar_t* outputFolder;
28 const wchar_t* extension;
30 const wchar_t* filenamePrefix;
36 PDFReplaceFileQuestionProc replaceFileQuestion;
39};
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
60PDF_PDF2IMAGE_API PDErrCode PDFSDK_CALLCONV PDFConvertToImage(PDDoc source,
61 const PDPageRange* pageRange,
62 const PDProgressMonitor* progress,
63 void* progressData,
64 const PDFConvertToImageParams* params);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif // PDFSDK_CONVERT_PDF2IMAGE_H_INCLUDED_
int32_t PDErrCode
Definition errors.h:44
PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFConvertToImage(PDDoc source, const PDPageRange *pageRange, const PDProgressMonitor *progress, void *progressData, const PDFConvertToImageParams *params)
A function to covert all or specific pages of a PDF document into separate image files.
Contains conversion-related parameters such as the system output folder, desired image type,...
Definition pdf2image.h:25
const wchar_t * filenamePrefix
Definition pdf2image.h:30
bool * saveToOutputSuccess
Definition pdf2image.h:34
PDFReplaceFileQuestionProc replaceFileQuestion
Definition pdf2image.h:36
const wchar_t * extension
Definition pdf2image.h:28
const wchar_t * outputFolder
Definition pdf2image.h:26
int targetDpi
Definition pdf2image.h:38
void * replaceFileQuestionData
Definition pdf2image.h:37
Specifies a structure to define a set of pages.
Definition document.h:43
Definition progress_monitor.h:15