[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDisplayFormat.IndentLevel

IndentLevel Property

IndentLevel

Gets a value that represents the indent level of the associated range object as displayed in the current user interface.

Use this property to retrieve the effective indent level shown for the range, which can differ from the range's own formatting properties when display-affecting features such as conditional formatting are applied.

Declaration
int IndentLevel { get; }
ReadOnly Property IndentLevel As Integer
Examples
IRange range = worksheet.Range["A1"];
range.Value = "Test";
range.IndentLevel = 2;
int indentLevel = range.DisplayFormat.IndentLevel;