Hi,
I have written an application using your Spire.PDF API. It opens PDFs, saves the individual pages in the PDF as images and displays each page inside of a tab control.
It works great for most everything except one of my customers PDF forms. It is a 2 page PDF form and when I try and save the 2nd page as an image I get:
System.NullReferenceException was unhandled
_HResult=-2147467261
_message=Object reference not set to an instance of an object.
HResult=-2147467261
IsTransient=false
Message=Object reference not set to an instance of an object.
Source=Spire.Pdf
StackTrace:
at spr?.?(spr? A_0, Boolean A_1)
at spr?.?(Boolean A_0)
at spr?.?()
at Spire.Pdf.PdfDocumentBase.?(Int32 A_0)
at Spire.Pdf.PdfDocumentBase.?(Int32 A_0, PdfImageType A_1)
at Spire.Pdf.PdfDocument.SaveAsImage(Int32 pageIndex, PdfImageType type)
...
I cannot attach the PDF form here inside of this post as it is one of our customer's forms and has their proprietary information in it.
Please let me know where to email it to you, if required.
Thanks,
Grant