This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARPageLayout Interface > IARPageLayout.ZoomToPercent Method (ArcObjects .NET 10.5 SDK) |
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 );
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.
2120 800A0848: Invalid zoom percentage, the zoom percentage must be greater than 0
Use the ZoomPercent property to check the current zoom factor.
IARPageLayout Interface | IARPageLayout.ZoomToWholePage Method | IARPageLayout.ZoomToWidth Method