This document is archived and information here might be outdated.  Recommended version.


IPageLayout.ZoomPercent Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPageLayout.ZoomPercent Property

The current zoom percent. 100 means 1:1. 200 means twice normal size, etc.

[Visual Basic .NET]
Public ReadOnly Property ZoomPercent As Double
[C#]
public double ZoomPercent {get;}
[C++]
HRESULT get_ZoomPercent(
  double* percent
);
[C++]

Parameters percent [out, retval] percent is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This property reports the current zoom factor.  Use ZoomToPercent, ZoomToWhole, or ZoomToWidth to change the zoom factor.

See Also

IPageLayout Interface | IPageLayout.ZoomToWhole Method | IPageLayout.ZoomToPercent Method | IPageLayout.ZoomPercent Property | IPageLayout.ZoomToWidth Method