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


IPageLayout.ZoomToWidth 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.ZoomToWidth Method
ArcGIS Developer Help

IPageLayout.ZoomToWidth Method

Fit the width of the page to the screen.

[Visual Basic .NET]
Public Sub ZoomToWidth ( _
)
[C#]
public void ZoomToWidth (
);
[C++]
HRESULT ZoomToWidth(
void
);

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