NativeExcel 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]
Property DisplayRightToLeft As Boolean
[C#]
bool DisplayRightToLeft { get; set; }
[C++]
__property bool get_DisplayRightToLeft();
__property void set_DisplayRightToLeft(bool );
[JScript]
function get DisplayRightToLeft() : bool
function set DisplayRightToLeft(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;
[Visual Basic]
book.Worksheets(1).DisplayRightToLeft = True
[C++]
book->Worksheets->Item[1]->DisplayRightToLeft = true;

See Also

IWorksheet Interface | NativeExcel Namespace