I use the RedactionAnnotation class to process PDF documents, but it throw IndexOutOfRangeException.
Version info:
Aspose.PDF for Net 23.6
The demo code
void Main()
{
var doc = new Aspose.Pdf.Document(@"C:\Users\54390…...Redact(); } doc.Save(@"C:\Users\54390\Desktop\output...