After processed by RedactionAnnotation Class,The images in the PDF display abnormally

I have a PDF document, and I want to use RedactionAnnotation screenshot to cover part of the top area, but when I execute the following code, the image outside the top covered area is displayed abnormally.

void Main()
	var doc = new Aspose.Pdf.Document(@"C:\Users\54390\Desktop\月亮.pdf");
	var annotationColor = Aspose.Pdf.Color.Green;
	foreach (var page in doc.Pages)
		var annot = new RedactionAnnotation(page, new Aspose.Pdf.Rectangle(0, page.Rect.Height - 56, page.Rect.Width, page.Rect.Height));
		annot.FillColor = annotationColor;
		annot.Color = annotationColor;

Sample file

月亮.pdf (546.9 KB)


20230305205248.png (295.6 KB)


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-53793

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hello,Is there any progress on this issue? Thank you!


The ticket was recently logged in our issue tracking system and will be resolved on first come first serve basis. We will surely inform you as soon as we make some progress towards its resolution. Please spare us some time. We are sorry for the inconvenience.