Free Support Forum -

Very Urgent

Aspose.Pdf.Pdf pdfDoc = new Aspose.Pdf.Pdf();

pdfDoc.IsImagesInXmlDeleteNeeded = true;



pdfDoc = null; ---- On this line following error comes

A first chance exception of type '?.?' occurred in aspose.pdf.dll


Thank you for considering Aspose.

I have tested you code and can't get this exception. Can you please provide the xml and images and let me test again? And it is strange that the exception thrown on the last line.