SpreadsheetGear 2023
IndentLevel Property (IRange)

SpreadsheetGear Namespace > IRange Interface : IndentLevel Property
Gets or sets the indent level of the specified cell(s).
Property IndentLevel As System.Integer
Dim instance As IRange
Dim value As System.Integer
instance.IndentLevel = value
value = instance.IndentLevel
System.int IndentLevel {get; set;}
The IndentLevel propert indents from the left for HAlign.Left, from the right for HAlign.Right or from the left and right for HAlign.Distributed. If IndentLevel is set to a non-zero value and the IRange.HorizontalAlignment property is not currently set to one of these three values, IRange.HorizontalAlignment will be set to HAlign.Left.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IRange Interface
IRange Members