We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Value does not fall within the expected range- Error occuring while creating PDF

I am passing Byte array to create PDF file and below line is throw error for me . Could you please guide me the solution for same. thanks

Code line giving error :
var pdfDocument = new Aspose.Pdf.Document(inputStream);

Error : Value does not fall within the expected range


Can you please share the source PDF file so that we may try to reproduce the same on our end.

I cant share file … can you please suggest me some solution for same … thanks


We can not suggest any solution without reproducing the issue. You can send the file privately with us by clicking on my name icon in my post and using Message option. It will be a private message directly sent to me. Please notify us here as well once you have sent the private message.