Message-ID: <731640140.9367.1711689500721.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9366_830058036.1711689500721" ------=_Part_9366_830058036.1711689500721 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Worksheet.ZoomPercentage

Worksheet.ZoomPercentage

Description

=20

Sets or returns the percentage of standard size by which the worksheet w= ill be magnified or reduced. Set this property to a value between 10 and 40= 0.

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

Remarks

By default the wor= ksheet will have a ZoomPercentage of 100, corresponding to the standard zoo= m level. Adjusting this property to a larger number will magnify the worksh= eet, making it so that the contents are larger but less can be displayed on= the screen. Setting this property to a smaller number will zoom out, revea= ling more of the worksheet.=20

Exceptions

=20
ArgumentException Thrown if you set the property to a value that is less than 10 or greater= than 400=20

Examples

=20
C#
=20

          //--- Get Zoom
          int zoom =3D ws.ZoomPercentage;

          //--- Set Zoom
          ws.ZoomPercentage =3D 50;
        
=20
=20
vb.net
=20

          '--- Get Zoom
          Dim zoom As Integer =3D ws.ZoomPercentage

          '--- Set Zoom
          ws.ZoomPercentage =3D 50
        
=20
------=_Part_9366_830058036.1711689500721--