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

Free Support Forum - aspose.com

Aspose.PDF throws Exceptions when calling PdfDocument.Form.SignaturesExist

The following code throws an exception.

Aspose.PDF 21.3.0. Document is attached.Test with docProps15.pdf (55.6 KB)

            using var source = File.OpenRead("Documents/Test with docProps15.pdf");

        using var pdfDocument = new PdfDocument(source);

        var form = pdfDocument.Form;

        // next line throws!
        var signaturesExist = form.SignaturesExist;


I have been able to reproduce the issue on my end and have added a ticket with ID PDFNET-49731 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

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