excel document right to left

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

excel document right to left

Postby sarafrank.ssf@gmail.com » 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

Re: excel document right to left

Postby Betsy.jiang » 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: 1514
Joined: Tue Sep 06, 2016 8:30 am

Re: excel document right to left

Postby sarafrank.ssf@gmail.com » 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

Re: excel document right to left

Postby Betsy.jiang » 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: 1514
Joined: Tue Sep 06, 2016 8:30 am


Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 1 guest