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 row, as a value between 0 and 7. The outline level is used to control grouping in Excel. For example, to group several rows, set their outline levels to 1; to group a subset of rows within the group, set their outline levels to 2.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int OutlineLevel{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property OutlineLevel() As Integer</p>Integer
Example
Code Block
csharp
csharp
titleC#
            //--- Get OutlineLevel
          int level = rowProps.OutlineLevel;

          //--- Set OutlineLevel
          rowProps.OutlineLevel = 4;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Get OutlineLevel
          Dim level As Integer = rowProps.OutlineLevel

          '--- Set OutlineLevel
          rowProps.OutlineLevel = 4