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


IARFeature.CenterAt 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.CenterAt Method
ArcGIS Developer Help

IARFeature.CenterAt Method

Centers the feature on the map display.

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

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

Centers the ARFeature on the display to make it 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

2019 800A07E3: The feature is invalid and has not been initialized

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

See Also

IARFeature Interface