Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns an int object that represents the number of heading levels that will be displayed by Word in the outline view for this document. This can be set to a number between 1 and 9.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} object that represents the number of heading levels that will be displayed by Word in the outline view for this document. This can be set to a number between 1 and 9.{excerpt}
{signature:C#}
 public int DisplayedOutlineLevels{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property DisplayedOutlineLevels() As Integer
Remarks

This option is set to 9 (all levels) by default.

MS Word equivalent: Outlining toolbar > Show Level

{signature}
{remarks}This option is set to {{9}} \(all levels\) by default.

MS Word equivalent: Outlining toolbar > Show Level

{remarks}
{example}{code:csharp|title=C#}

          //--- Return DisplayOutlineLevels
          int displayOutlineLevels = viewSettings.DisplayOutlineLevels;

          //--- Set ZoomType
          viewSettings.DisplayOutlineLevels = 4;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return DisplayOutlineLevels
          Dim displayOutlineLevels As Integer = viewSettings.DisplayOutlineLevels

          '--- Set DisplayOutlineLevels
          viewSettings.DisplayOutlineLevels = 4
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle