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


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

IARFeature.ZoomTo Method

Zooms the map to display the feature.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Zooms to the ARFeature to make it visible on the display. This may change the IARMap::MapScale. By default the screen is automatically refreshed.

Errors Returned

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.

See Also

IARFeature Interface