Some test text!

menu

Customizing Xamarin document viewer

This tutorial only applies to Xamarin.Android. See Xamarin.iOS equivalent here .

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

Customize a document viewer

PDFTron includes DocumentActivity and PdfViewCtrlTabHostFragment2 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 .

Customize individual components

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

Customize how users interact with annotations

Annotation and PDF interaction is implemented within the open-source tools package . This includes annotation creation & selection, text selection, form filling, link following, etc.

Customize annotation appearances

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

Customize 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 .

Next step

Guides API docs Samples

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.