[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.IndentLevel

IndentLevel Property

IndentLevel

Gets or sets the indent level for the style.

Use this property to define or retrieve the indentation applied to cell content when the style is assigned.

Declaration
int IndentLevel { get; set; }
Property IndentLevel As Integer
Examples
IStyle style = workbook.Styles.Add("indentStyle");
style.IndentLevel = 2;
worksheet.Range["A1"].Style = style;
int indentLevel = style.IndentLevel;