
####################
A3DConvertPDFToImage
####################

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

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DConvertPDFToImage(*const* :c:type:`~A3DUTF8Char`\ \* **pcInPDFFilename**\ , *const* :c:type:`~A3DInt32` **iNumPage**\ , *const* :c:type:`~A3DDouble` **dScale**\ , *const* :c:enum:`~A3DPDFEImageFormat` **eFormatOut**\ , *const* :c:type:`~A3DUTF8Char`\ \* **pcOutImgFileName**\ , :c:type:`~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.
   
   




