Hi
Hi Rui,
// Open document<o:p></o:p>
Document pdfDocument = new Document("c:/pdftest/test.pages.txt.pdf");
for (int pageCount = 1; pageCount <= pdfDocument.Pages.Count; pageCount++)
{
using (FileStream imageStream = new FileStream("c:/pdftest/test.pages_image" + pageCount + ".emf", FileMode.Create))
{
// Create Resolution object
Resolution resolution = new Resolution(300);
// Create PNG device with specified attributes
// Width, Height, Resolution
EmfDevice emfDevice = new EmfDevice(500, 700, resolution);
// Convert a particular page and save the image to stream
emfDevice.Process(pdfDocument.Pages[pageCount], imageStream);
// Close stream
imageStream.Close();
}
}
Hi Nayyer
Hi Rui,
Hi
Hi Rui,
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWNET-40554 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.