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
10
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;
43};
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
64PDF_PDF2IMAGE_API PDErrCode PDFSDK_CALLCONV PDFConvertToImage(PDDoc source,
65 const PDPageRange* pageRange,
66 const PDProgressMonitor* progress,
67 void* progressData,
68 const PDFConvertToImageParams* params);
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif // PDFSDK_CONVERT_PDF2IMAGE_H_INCLUDED_
PDOCUsageEvent
A usage event: the situation in which a document is being used — viewed on screen,...
Definition optional_content.h:92
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
const PDOCUsageEvent * usageEvent
Definition pdf2image.h:39
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:44
Definition progress_monitor.h:15