[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.AddIndent

AddIndent Property

AddIndent

Gets or sets whether text is automatically indented when the text alignment in a cell is set to equal distribution either horizontally or vertically.

Use this property to control or inspect the automatic indent setting used for distributed text alignment.

Declaration
bool AddIndent { get; set; }
Property AddIndent As Boolean
Examples
IStyle style = workbook.Styles.Add("distributedIndent");
style.HorizontalAlignment = HorizontalAlignment.Distributed;
style.AddIndent = true;
worksheet.Range["A1"].Style = style;
bool addIndent = style.AddIndent;