Hello,
I'm using redaction functionality based on this:
http://www.aspose.com/docs/display/pdfnet/Redact+certain+page+region+with+RedactionAnnotation
I can redact rectangle area, but also I'd like to do so for rotated rectangle. Rotation works for example for 90deg., but not when I set 45deg:
var rect = new Aspose.Pdf.Rectangle(200, 500, 300, 600);
rect.Rotate(45); //behaves not as expected
rect.Rotate(90); //OK
Also is it possible to redact other areas than rectangle, ie. polygons?
Thanks in advance for your help.
Best regards,
Krzysiek C.
Hi Krzysiek,
Thanks for contacting support.
I am afraid currently the API does not support the feature to redact polygon region and currently it only supports the values from Rotation enumeration which can be passed to rect.Rotate(…) method. I have also managed to reproduce the issue that angles such as 45deg are not being honored. For the sake of correction, I have logged it as PDFNET-41051 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time.
We are sorry for this inconvenience.