Today we are very excited to introduce version 6.9.2 of PDFTron's Android PDF SDK . This release includes a new redaction tool, improved digital signature tool APIs, and much more. This blog post will go through the major changes in 6.9.2. For the full list of changes, please head over to our changelog for PDFTron 6.9.2 for Android .
Redaction is useful to permanently remove sensitive content within documents for safe distribution to courts, patent and government institutions, the media, customers, vendors or any other audience where you want to restrict access to the content.
A new rectangular redaction tool,
RectRedactionCreate, is added to the collection of PDFTron's out-of-box annotation tools. Together with the existing
TextRedactionCreate, it's now much easier to permanently redact content.
Here's a preview:
|Text redaction||Rectangular redaction|
Keep in mind that PDFTron's redact feature can do much more! See related topics here:
- Redact sample
It is now possible to use the
DigitalSignature tool out-of-the-box with UI components, such as DocumentActivity and PdfViewCtrlTabHostFragment . This allows users to pass in their own key store password to digitally sign a document. You can also use the tool with PDFViewCtrl through ToolManager .
By default, the signature tool without signing is used. You can switch to include signing as follows:
ToolManagerBuilder tmBuilder = ToolManagerBuilder.from() .setUseDigitalSignature(true) .setDigitalSignatureKeystorePath("my_keystore_path") .setDigitalSignatureKeystorePassword("my_keystore_password"); ViewerConfig.Builder builder = new ViewerConfig.Builder(); ViewerConfig config = builder //... .toolManagerBuilder(tmBuilder) .build();
Here's a preview:
See detailed tutorial here:
For a full list of changes, please see the changelog for PDFTron 6.9.2 for Android .
We hope you like these changes and any feedback is greatly appreciated. Please don't hesitate and contact us if you have any questions or suggestions. We also have many exciting new features planned for the coming weeks and months. Stay tuned...