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


IARPageLayout.ZoomToWidth Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

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