Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns the outline level of the column, as a value between 0 and 7. The outline level is used to control grouping in Excel. For example, to group several columns, set their outline levels to 1; to group a subset of columns within the group, set their outline levels to 2.

Signature
C#
C#
public int OutlineLevel{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property OutlineLevel() As Integer
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
int groupLevel = colProps.OutlineLevel;
          colProps.OutlineLevel = 4;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
Dim groupLevel As Integer = colProps.OutlineLevel
          colProps.OutlineLevel = 4
        
{code} {example}