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 that represents the zoom percentage this document will be displayed with when opened by Word. Possible values: Normal, Outline, Page.

 section

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

          //--- Return ZoomPercentage
          int zoomPercentage = viewSettings.ZoomPercentage;

          //--- Set ZoomPercentage
          viewSettings.ZoomPercentage = 50;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return ZoomPercentage
          Dim zoomPercentage As Integer = viewSettings.ZoomPercentage

          '--- Set ZoomPercentage
          viewSettings.ZoomPercentage = 50
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} that represents the zoom percentage this document will be displayed with when opened by Word. Possible values: Normal, Outline, Page.{excerpt}
{signature:C#}
 public int ZoomPercentage{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property ZoomPercentage() As Integer
Remarks

This option is set to 100 % by default.

MS Word equivalent: View menu >
{signature}
{remarks}This option is set to {{100}} \% by default.

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