I am quite new and am testing to extract a image from the pdfdocument in .net
But I am wondering how to specify the size of the destination image.
For example I want the image to be 800x600 pixels.
What I want to achieve is loading a pdf and save all pages as images to disk.
- Code: Select all
Dim doc As New PdfDocument()
doc.LoadFromFile("C:\manual.pdf")
Dim Im As System.Drawing.Image = doc.SaveAsImage(i, 96, 96)