Some test text!

platform
search

Customization

Contents

Customize a document viewer
Customize individual components
Customize how users interact with annotations
Customize annotation appearances
Customize by modifying the source code

After you have added PDFTron to your project and added a document viewer, learn how to customize it for your app.

linkCustomize a document viewer

PDFTron includes DocumentActivity and PdfViewCtrlTabHostFragment for showing documents. To customize their appearance and function, see Customizing a document viewer.

PDFTron also includes a low-level ViewGroup (PDFViewCtrl) to show documents. If you are using it, please see Customizing a PDFViewCtrl.

linkCustomize individual components

PDFTron includes a rich set of controls. They are used by the DocumentActivity and PdfViewCtrlTabHostFragment, and can also be used independently. To learn more about them, please see a detailed list of each component here.

linkCustomize how users interact with annotations

To change the way users interact with annotations, including restricting which annotations can be created and edited, see Customizing annotation and PDF interaction.

linkCustomize annotation appearances

To change the way an annotation appears, see the Custom annotation appearance guide.

linkCustomize by modifying the source code

PDFTron's tools and demo package shown here are completely open source. Any and all changes are possible by editing the source code directly. All source code can be found in /lib/src.

You can also integrate with source code directly in your application for easy code modification as described here: How to integrate the PDFTron libraries from source.

Get the anwsers you need: Support

Contents

Customize a document viewer
Customize individual components
Customize how users interact with annotations
Customize annotation appearances
Customize by modifying the source code