Loading...
Skip to end of metadata
Go to start of metadata

I want to open a PDF document and convert it to a graphic file. The API shows LoadInput(Byte[] inputBuffer, …) where inputBuffer is the memory buffer containing the input document to be imported into PDF2IMG. But how do I fill that buffer with the PDF file?

Simply enter the name of the PDF file in LoadInput, something like this:

PDFGenerator.LoadInput("C:\Sample\Sample.pdf")

You can then use ConvertPageToImage or ConvertAllPagesToTIFFImage as your next API call convert the PDF pages to TIFF files.

We provide more information about these APIs.

  • No labels