Some test text!

Search
Hamburger Icon

Xamarin / Guides / Right-to-left (Android)

Right to Left Scrolling support

You can choose to change the scrolling direction to Right-to-Left if you require so for your document or language.

Supporting right-to-left (RTL) language documents in Xamarin

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

Right to left

If you are using DocumentActivity or PdfViewCtrlTabHostFragment2 , you can enable right-to-left (RTL) 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 (RTL) mode to be enabled.

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

Get the answers you need: Chat with us