ArcObjects Library Reference (PublisherControls)  

IARPageLayout.ZoomToPercent Method

Magnifies the page by a percentage (100 means actual size, 200 means twice the normal size).

[Visual Basic .NET]
Public Sub ZoomToPercent ( _
    ByVal percent As Integer _
)
[C#]
public void ZoomToPercent (
    int percent
);

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Zoom the ARPageLayout's page to the specified percentage. A percent of 100 will display the page at 1:1 and a percent of 200 will display the page at twice the normal size. The ZoomToPercent method automatically refreshes the ARPageLayout display area. 

Errors Returned

2120 800A0848: Invalid zoom percentage, the zoom percentage must be greater than 0 

Remarks

Use the ZoomPercent property to check the current zoom factor.

See Also

IARPageLayout Interface | IARPageLayout.ZoomToWholePage Method | IARPageLayout.ZoomToWidth Method