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


IARFeatureSet.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 > IARFeatureSet Interface > IARFeatureSet.ZoomTo Method
ArcGIS Developer Help

IARFeatureSet.ZoomTo Method

Zooms the map to display the ARFeatureSet.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Zooms to the extent of all the features in the ARFeatureSet to make them visible on the display. This may change the IARMap::MapScale. By default the screen is automatically refreshed.

Errors Returned

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

IARFeatureSet Interface