Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

Fundamentals

keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

keyboard_arrow_down

Annotation and collaboration

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Form filling

keyboard_arrow_down

Search

keyboard_arrow_down

Redaction

keyboard_arrow_down

Advanced topics

keyboard_arrow_down

Other frameworks

keyboard_arrow_down

Reference

keyboard_arrow_down

PDF Processing API

Right-to-left support

To support right-to-left language documents, the PDFTron SDK provides a high-level API for changing the reading direction of documents in your document viewer.

If you are using DocumentActivity or PdfViewCtrlTabHostFragment, you can enable right-to-left support in your document viewer by setting it with ViewerConfig:

Note that if you call rightToLeftModeEnabled you must also call showRightToLeftOption in order for right-to-left mode to be enabled.

If you would like more granular control over your document viewer, you can enable right-to-left directly in PDFViewCtrl by calling PDFViewCtrl.setRightToLeftLanguage(true).