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


IARFeature.ZoomTo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (PublisherControls)  

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