- Code: Select all
System.NullReferenceException: 'Object reference not set to an instance of an object.'
at Spire.Pdf.Widget.PdfPageCollection.ᜁ(sprន A_0)
at Spire.Pdf.Widget.PdfPageCollection.ᜀ(Int32 A_0)
at Spire.Pdf.Widget.PdfPageCollection.get_Item(Int32 index)
at Spire.Pdf.PdfDocument.ᜂ()
at Spire.Pdf.PdfDocument..ctor(Stream stream)
using simple loading from stream
- Code: Select all
inputDocument = new PdfDocument(stream);