Share via


CellFormat.IndentLevel Property

Returns or sets the indent level for the cell or range. Can be an integer from 0 to 15.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property IndentLevel As Object
    Get
    Set
'Usage
Dim instance As CellFormat
Dim value As Object

value = instance.IndentLevel

instance.IndentLevel = value
Object IndentLevel { get; set; }

Property Value

Type: System.Object

Remarks

Using this property to set the indent level to a number less than 0 (zero) or greater than 15 causes an error.

See Also

Reference

CellFormat Interface

CellFormat Members

Microsoft.Office.Interop.Excel Namespace