We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Need to set the worksheet "Right-to-Left"

Hi ;

I need to set the worksheet style to “Right-to-Left”.
How can i work it out !?


Hi Ehssan,

Thanks for your posting and using Aspose.Cells.

Please try the Worksheet.DisplayRightToLeft property and set it true. It should fulfill your needs.

Please see the following sample code. I have attached the output xlsx file generated by it for your reference.


Workbook workbook = new Workbook();

Worksheet worksheet = workbook.Worksheets[0];

worksheet.DisplayRightToLeft = true;


Thank you so much ! :slight_smile: