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 a WordViewSettings.ZoomType object that represents the zoom type the document will be displayed with when opened by Word. Possible values: None, FullPage, PageWidth).

 section

{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}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a [WordViewSettings.ZoomType|WordViewSettings.ZoomType] object that represents the zoom type the document will be displayed with when opened by Word. Possible values: None, FullPage, PageWidth\).{excerpt}
{signature:C#}
 public ZoomType Zoom{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Zoom() As ZoomType
Remarks

This option is set to None by default.

MS Word equivalent: View menu >
{signature}
{remarks}This option is set to [None|WordViewSettings.ZoomType#None] by default.

MS Word equivalent: View menu > Zoom... > Zoom to
section
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle