NativeExcel2 for .Net Developer's Reference

IWorksheet.DisplayRightToLeft Property

Gets or sets the value that indicates whether the worksheet is displayed from right to left instead of from left to right.

[Visual Basic]
PropertyDisplayRightToLeftAsBoolean
[C#]
boolDisplayRightToLeft{get;set;}
[C++]
__propertyboolget_DisplayRightToLeft();
__propertyvoidset_DisplayRightToLeft(bool);
[JScript]
functiongetDisplayRightToLeft():bool
functionsetDisplayRightToLeft(bool);

Property Value

True if the specified worksheet is displayed from right to left; otherwise, false. Default is false.

Example

This example sets worksheet one to be displayed from right to left.

[C#]
book.Worksheets[1].DisplayRightToLeft = true;
[VisualBasic]
book.Worksheets(1).DisplayRightToLeft = True
[C++]
book->Worksheets->Item[1]->DisplayRightToLeft = true;

See Also

IWorksheet Interface | NativeExcel Namespace