Redactions are in the wrong spot!

Question:
I allow the user to create annotations for redaction, but when I apply the Annotation rectangles to the Redactor class, on some PDF files, the redaction is in the wrong location.

Answer:

The issue is that by default, the redaction region rectangle coordinates for Redactor class are not in the same coordinate system as the Annotations, but instead are relative to what the user sees when viewing the page.

To switch to the same coordinate system as the annotations, use the following API and set page_coord_sys to false.
https://www.pdftron.com/api/PDFTronSDK/dotnet/pdftron.PDF.Redactor.html#pdftron_PDF_Redactor_Redact_pdftron_PDF_PDFDoc_System_Collections_ArrayList_pdftron_PDF_Redactor_Appearance_System_Boolean_System_Boolean_