I've attached the input and output files from this code:
PdfViewer pdfView = new PdfViewer();
pdfView.OpenPdfFile("c:\\test2.pdf");
try
{
if (pdfView.PageCount > 0)
{
System.Drawing.Bitmap firstPage = pdfView.DecodePage(1);
firstPage.Save("C:\\test002.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
pdfView.ClosePdfFile();
}
}
catch (Exception ex)
{
pdfView.ClosePdfFile();
}
What happened to the jpeg?