Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

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.

C#
public int ZoomPercentage{ get; set; }
vb.net
Public Property ZoomPercentage() As Integer

Remarks

This option is set to 100 % by default.

MS Word equivalent: View menu > Zoom... > Zoom to section

Examples

C#
//--- Return ZoomPercentage
int zoomPercentage = viewSettings.ZoomPercentage;
 
//--- Set ZoomPercentage
viewSettings.ZoomPercentage = 50;
vb.net
'--- Return ZoomPercentage
Dim zoomPercentage As Integer = viewSettings.ZoomPercentage
 
'--- Set ZoomPercentage
viewSettings.ZoomPercentage = 50
  • No labels