Version

OutlineLevel Property

Gets or sets the outline level for the row or column.
Syntax
'Declaration
 
Public Property OutlineLevel As System.Integer
public System.int OutlineLevel {get; set;}

Property Value

The outline level for the row or column.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The value assigned is outside the valid outline level range of 0 and 7.
System.InvalidOperationExceptionFrom the stter if the object was removed from the worksheet.
Remarks

Microsoft Excel supports hierarchical grouping of rows and columns with a maximum of seven levels of hierarchy. To create a group, set adjacent rows or columns to same outline level. When rows or columns are grouped, an outline indicator will provide a visual representation of the outline level. In addition, an outline group has an expansion indicator at one end of the group, which allows the user to easily hide and unhide all rows or column in the group with a single click.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub