Syncfusion AI Assistant

How can I help you?

Right to Left (RTL) in WinForms PDF Viewer

25 May 20261 minute to read

The Syncfusion® WinForms PDF Viewer control supports right-to-left (RTL) rendering. All user interface elements are displayed based on left-to-right (LTR) or right-to-left (RTL) direction, ensuring proper layout and alignment for RTL languages.

Code Changes for Enabling RTL

To enable RTL support in the WinForms PDF Viewer, set the RightToLeft property of the PDF viewer control to Yes. Refer the following code snippet.

using System.Windows.Forms;

namespace WindowsFormsApp_RTL
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            // Enable RTL layout for PDF Viewer control
            pdfViewerControl1.RightToLeft = RightToLeft.Yes;
        }
    }
}

The following screenshot shows the RTL-enabled PDF Viewer output

WinForms PDF Viewer RTL

NOTE

The sample project to perform the operation is available in the GitHub.