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

Free Support Forum - aspose.com

Aspose PDF Redaction PageNo

I am using the RedactionAnnotation. During the search, I do not use page no but I do find all the instances of that text.

Upon trying to use RedactionAnnotation, I do not have a pageNo as required by the API. How do i work around this issue?

We are looking to buy a membership but we have a show and tell for Friday about this feature.

Thank you in advance.

After searching text from the PDF, you receive a collection of TextFragment objects. The Page member of the TextFragment class returns the recent page object. The constructor of the RedactionAnnotation class takes the page object and rectangle object to redact the particular region of the page. Please refer to these help topics: Search and Get Text from Pages of a PDF Document and Redact certain page region with RedactionAnnotation

However, if this does not help, then kindly share the complete details of the use case, including source PDF and code. We will investigate and share our findings with you.

Best Regards,
Imran Rafique