This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPageLayout Interface > IPageLayout.ZoomToWidth Method (ArcObjects .NET 10.5 SDK) |
Fit the width of the page to the screen.
[Visual Basic .NET]
Public Sub ZoomToWidth ( _
)
[C#] public void ZoomToWidth ( );
[C++]
HRESULT ZoomToWidth(
void
);
Use the ZoomPercent property to check the zoom factor.
IPageLayout Interface | IPageLayout.ZoomToWhole Method | IPageLayout.ZoomToPercent Method | IPageLayout.ZoomPercent Property | IPageLayout.ZoomToWidth Method