Some test text!

menu

Customization PDFViewCtrl

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

The PDFViewCtrl has a large API set that can be used to control how the PDF is presented to the user. This guide highlights some of the most commonly used functionality.

If you are using a DocumentActivity (or PdfViewCtrlTabHostFragment), the contained PDFViewCtrl can be customized through PDFViewCtrlConfig.

linkCustomize the viewing experience

linkProperties and methods

APIDescription
SetPagePresentationModeSet how pages are presented and scrolled: in 1 or 2 columns, scrolled vertically or horizontally
SetPageViewModeSets the zoom level relative to the page size, fit-width, fit-height or fit-page.
SetPageRefViewModeWhen a document is scrolled via horizontal swipes, use this method to control what zoom level new pages are rendered at.
SetClientBackgroundColorSets the color that is seen around pages.
SetupThumbnailsControls how low-resolution thumbnails are handled. Enlarged thumbnails are used in place of high-resolution content while the high-resolution content is being rendered.
SetProgressiveRenderingControls how frequently the high-resolution content is updated while it is being rendered.
SetDrawAnnotationsControls if annotations are visible.
SetHighlightFieldsControls if form fields are shaded with light blue.
SetOverprintControls how PDFs that use overprint colors are rendered.
SetColorPostProcessModeCan be used to turn on night-mode and other color processing changes.

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.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close