Typo in error message when opening invalid PDF file

When you attempt to open an invalid file as a PDF using Aspose.NET, the message in the exception has a typo. I’ve attached a zip file with an invalid PDF (it’s just a blank file), and if you do something like:

document = new Aspose.Pdf.Document(pathToFile);

then the resulting exception has the message “Incorect file format” - it’s missing an r in “Incorrect”.

This, of course, is a minor issue, but thought I’d let you know, especially as we sometimes present that error message to our end users.

Thanks,
Michael Whalen

test.zip (114 Bytes)

@mwhalen

Thank you for contacting support.

We appreciate your contributions towards improving the API. It has been logged as PDFNET-47326 and will be rectified soon.

The issues you have found earlier (filed as PDFNET-47326) have been fixed in Aspose.PDF for .NET 22.2.