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


IARFeatureSet.ZoomTo Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

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