RTL provides an option to switch the text direction and layout of the PDF Viewer from right to left. It improves the user experiences and accessibility for users who use right-to-left languages (Arabic, Farsi, Urdu, etc.). To enable RTL PDF Viewer, set the enableRtl to true.
In this example, you can see PDF Viewer right-to-left and the locale set in arabic[locale value is ar-AE] By default, locale value is en-US. If you want to change the en-US culture to a different culture, you have to change the locale accordingly. More information on the PDF Viewer features can be found in this documentation section.