[]
Displays the specified number of row and column levels of an outline.
This overload calls ShowLevels(int, int) with the default row and column level values. Use it as a convenience overload when you want the implementation's default outline-level behavior, or call ShowLevels(int, int) to specify explicit row and column levels.
void ShowLevels(int rowLevels = 0, int columnLevels = 0)
Sub ShowLevels(Optional rowLevels As Integer = 0, Optional columnLevels As Integer = 0)
| Type | Name | Description |
|---|---|---|
| int | rowLevels | The number of row outline levels to display. |
| int | columnLevels | The number of column outline levels to display. |
worksheet.Range["2:5"].Group();
worksheet.Range["A:C"].Group();
IOutline outline = worksheet.Outline;
outline.ShowLevels();