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


IPageLayout.ZoomToPercent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.ZoomToPercent Method
ArcGIS Developer Help

IPageLayout.ZoomToPercent Method

Magnify the page by a certain percentage. 100 means actual size. 200 means twice normal size, etc.

[Visual Basic .NET]
Public Sub ZoomToPercent ( _
    ByVal percent As Integer _
)
[C#]
public void ZoomToPercent (
    int percent
);
[C++]
HRESULT ZoomToPercent(
  long percent
);
[C++]
Parameters
percent [in]

percent is a parameter of type long

Product Availability

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

Remarks

Use the ZoomPercent property to check the zoom factor.

See Also

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