Redacting sample UI

47 views
Skip to first unread message

Grace

unread,
Nov 22, 2017, 7:37:19 PM11/22/17
to PDFTron PDFNet SDK
I am looking to create a UI in PDFNet that will:
- let the user select areas for redaction (I have this working)
- highlight in grey / strikethrough / draw semi-transparent box over the selection while still viewing the redacting document

I know how to use Redactor to completely redact the selected area, but the above is a necessary and missing step.

The sample (http://www.pdftron.com/pdfnet/samplecode/data/SamplePDFRedactorGUI.zip) linked in this post no longer works: https://groups.google.com/forum/#!newtopic/pdfnet-sdk/pdfnet-sdk/QVbYaIIxWl4

, and this post (https://groups.google.com/forum/#!searchin/pdfnet-sdk/redaction|sort:date/pdfnet-sdk/kjdkDU5MdyA/cCfbU_IKnikJ) mentions an attached sample showing further tools, but I cannot find the attachment.

Any help would be much appreciated.

Thank you!

Ryan

unread,
Nov 28, 2017, 6:39:42 PM11/28/17
to PDFTron PDFNet SDK
Sorry it is not clear what the issue is.


highlight in grey / strikethrough / draw semi-transparent box over the selection while still viewing the redacting document

For all platforms we provide tools for marking text in various ways, such as strikeout. There also other annotations, such as rectangle.

With our SDK you have full control over the appearance of the annotations, so you can make a grey highlight. You can take any annotation, and getting its bounding box (annot.GetRect), pass this to the Redactor class.
Reply all
Reply to author
Forward
0 new messages