Partager via


Style.IndentLevel Property

Returns or sets the indent level for the style.

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

Syntax

'Declaration
Property IndentLevel As Integer
    Get
    Set
'Usage
Dim instance As Style
Dim value As Integer

value = instance.IndentLevel

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

Property Value

Type: System.Int32

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

Style Interface

Style Members

Microsoft.Office.Interop.Excel Namespace