RTL in Blazor Smart PDF Viewer

24 Sep 20251 minute to read

The Blazor Smart PDF Viewer supports Right-to-Left (RTL) layout for languages that are read from right to left, such as Arabic and Hebrew. RTL affects the viewer UI, toolbar alignment, and content flow. RTL is disabled by default and can be enabled by setting the EnableRtl property to true.

RTL layout on desktop

Example

@* Enables Right-to-Left layout support for languages like Arabic and Hebrew *@

<SfSmartPdfViewer DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
EnableRtl="true">
</SfSmartPdfViewer>

NOTE

View sample in GitHub

In this example, the EnableRtl property is set to true, enabling RTL layout for the PDF viewer.

See also