I want to add an annotation into a signed PDF using Aspose PDF ver. 21.11.0.0.
After adding the annotation to the PDF and open in an adobe reader, it will show the message “At least one signature requires validating”.
How can I solve it? and After Searching I found this solution by itextsharp and its working.
[c# - ITextsharp get "at least one signature requires validating" after add annotation - Stack Overflow]
How can we solve it in aspose?
// Create annotation TextAnnotation textAnnotation = new TextAnnotation(pdfDocument.Pages[1], new Aspose.Pdf.Rectangle(200, 400, 400, 600)); textAnnotation.Title = "Sample Annotation Title"; textAnnotation.Subject = "Sample Subject"; textAnnotation.State = AnnotationState.Accepted; textAnnotation.Contents = "Sample contents for the annotation"; textAnnotation.Open = true; Border border = new Border(textAnnotation); border.Width = 5; border.Dash = new Dash(1, 1); textAnnotation.Border = border; textAnnotation.Rect = new Aspose.Pdf.Rectangle(200, 400, 400, 600); pdfDocument.Pages[1].Annotations.Add(textAnnotation);