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


IARPageLayout.ZoomToWidth Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.ZoomToWidth Method
ArcGIS Developer Help

IARPageLayout.ZoomToWidth Method

Fits the width of the page into the page layout display area.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Changes the ARPageLayout's viewing extent to show the full width of the page, causing the ZoomPercent property to change. The ZoomToWidth method automatically refreshes the ARPageLayout display area. 

See Also

IARPageLayout Interface | IARPageLayout.ZoomToPercent Method | IARPageLayout.ZoomToWholePage Method