[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.Direction

Direction Property

Direction

Gets or sets the display direction of the data bar.

The DataBarDirection value determines whether the data bar follows the current context, is displayed from left to right, or is displayed from right to left.

Declaration
DataBarDirection Direction { get; set; }
Property Direction As DataBarDirection
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{10}, {20}, {30}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
dataBar.Direction = DataBarDirection.RightToLeft;
DataBarDirection direction = dataBar.Direction;