A3DConvertPDFToImage

A3DStatus A3DConvertPDFToImage(const A3DUTF8Char *pcInPDFFilename, const A3DInt32 iNumPage, const A3DDouble dScale, const A3DPDFEImageFormat eFormatOut, const A3DUTF8Char *pcOutImgFileName, A3DInt32 *piNbPages)
A3DStatus A3DConvertPDFToImage(const A3DUTF8Char* pcInPDFFilename, const A3DInt32 iNumPage, const A3DDouble dScale, const A3DPDFEImageFormat eFormatOut, const A3DUTF8Char* pcOutImgFileName, A3DInt32* piNbPages)

Convert a PDF file to an image.

Parameters

pcInPDFFilename: Path to the input PDF file.

iNumPage: Page number to convert (1-based), or 0 for all pages.

dScale: Scale factor for the output image.

eFormatOut: Output image format.

pcOutImgFileName: Path to the output image file.

piNbPages: Number of pages in the PDF.

Returns

A3D_SUCCESS on success or an error code on failure.