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 > IARFeature Interface > IARFeature.ZoomTo Method (ArcObjects .NET 10.5 SDK) |
Zooms the map to display the feature.
[Visual Basic .NET]
Public Sub ZoomTo ( _
)
[C#] public void ZoomTo ( );
Zooms to the ARFeature to make it visible on the display. This may change the IARMap::MapScale. By default the screen is automatically refreshed.
2019 800A07E3: The feature is invalid and has not been initialized
2115 800A0843: Unable to change scale when extent type is fixed scale.
2116 800A0844: Unable to change extent when extent type is fixed extent.