Some test text!

menu
search

Applying redactions

Redactions can be applied using the WebViewer UI or programmatically.

Please Note!
Even when programmatically applying redactions, fullAPI or pdftronServer must be set up. Furthermore when using WebViewer Server, applyRedactions will return a promise that resolves to a URL for the redacted document instead of updating the current document.

linkApplying redactions with the WebViewer

A user can simply click on a redaction annotation and click on the apply button to apply a single redaction.

Applying Redactions

There is also an 'Apply All' button that applies every redaction annotation in the document.

linkApplying redactions programmatically

Redactions can be applied using the applyRedactions function on AnnotationManager. applyRedactions returns a promise and can be used to apply a single redaction, an array of redactions, or all redactions in a document. When using WebViewer Server, the returned promise will resolve to a response object with a URL to download the redacted document.

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close