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


IARFeatureSet.CenterAt Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARFeatureSet.CenterAt Method

Centers the map display on the center of the ARFeatureSet.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Centers the extent of all the features in the ARFeatureSet on the display to make them visible. The extent of the ARMap will change, but the IARMap::MapScale will remain the same. By default the screen is automatically refreshed.

Errors Returned

2116 800A0844: Unable to change extent when extent type is fixed extent.

See Also

IARFeatureSet Interface