Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Tue Jul 25, 2017 5:54 am

Hi,
Is there possible to direct the all document from ltr to rtl?

in excel document it goes like this:
https://www.extendoffice.com/documents/ ... ction.html

Thank you!
Sara.

sarafrank.ssf@gmail.com
 
Posts: 12
Joined: Wed Dec 09, 2015 9:32 am

Tue Jul 25, 2017 6:32 am

Hi Sara,

Thanks for your inquiry.
Here is sample code for your reference.
Code: Select all
            Workbook workbook = new Workbook();
            workbook.LoadFromFile(@"F:\Sample.xlsx");
            //set the right to left direction
            workbook.IsRightToLeft = true;
            workbook.SaveToFile("11189.xlsx", ExcelVersion.Version2010);

If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Jul 25, 2017 6:59 am

Worked!
Thank you!!
Sara.

sarafrank.ssf@gmail.com
 
Posts: 12
Joined: Wed Dec 09, 2015 9:32 am

Tue Jul 25, 2017 7:04 am

Hi Sara,

Thanks for your feedback.
Please feel free to contact us if you need any help.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.XLS

cron