Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149857 | Dec 11,2019 06:19 PM UTC | Dec 12,2019 11:38 AM UTC | WinForms | 1 |
![]() |
Tags: PDF |
//Load the existing PDF document
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("HTTP Succinctly.pdf");
//Get the PDF page count
int count = loadedDocument.Pages.Count;
//Convert each page to image file
for (int i = 0; i < count; i++)
{
//Export PDF page to image
Image image = loadedDocument.ExportAsImage(i, 300, 300);
//Save the exported image
image.Save("Image" + i + ".png", System.Drawing.Imaging.ImageFormat.Png);
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.