[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDisplayFormat.AddIndent

AddIndent Property

AddIndent

Gets a value that indicates whether the application automatically indents text of the associated IRange when the text alignment in a cell is set to equal distribution, either horizontally or vertically, as displayed in the current user interface.

This property reflects the displayed format of the associated range, which can differ from the underlying range settings.

Declaration
bool AddIndent { get; }
ReadOnly Property AddIndent As Boolean
Examples
IRange range = worksheet.Range["A1"];
range.Value = "Test";
range.HorizontalAlignment = HorizontalAlignment.Distributed;
range.AddIndent = true;
bool addIndent = range.DisplayFormat.AddIndent;