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


IPageLayout.ZoomToWidth Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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