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


IARMap Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (PublisherControls)  

IARMap Interface

Provides access to members that control the ARMap.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The IARMap interface is a starting point for navigating around the map, setting map properties, and accessing any layer's contained within the map.

Members

Name Description
Read-only property ARLayer The layer at the specified index.
Read-only property ARLayerCount The number of layer in the map's layer collection.
Read-only property BookmarkCount The number of bookmarks in the map's bookmark collection.
Read-only property BookmarkName The name of the bookmark.
Read-only property CanRedoExtent Indicates if there is a map extent that can be redone.
Read-only property CanUndoExtent Indicates if there is a map extent that can be undone.
Method CenterAt Moves the center of the map to the specified point.
Method CenterAtBookmark Centers the map display on the bookmark.
Read/write property CustomProperty A property to associate data with an object.
Read-only property Description The description of the map.
Read-only property DistanceUnits The distance units of the map.
Method GetExtent The visible extent of the map.
Method GetFullExtent The extent of all the data within the map.
Read-only property InternalObject The internal ArcObjects IMap object.
Read/write property MapScale The scale of the map as a representative fraction.
Read-only property MapUnits The geographical units of the map.
Read-only property Name The name of the map.
Method Pan Pans the map by a factor in a specified direction.
Method QueryARFeatures Searches the map using a search definition and returns an ARFeatureSet.
Method RedoExtent Redo the next map extent in the stack.
Read-only property ReferenceScale The reference scale of the map as a representative fraction.
Method Refresh Redraws the map display area.
Read/write property Rotation The number of degrees the map display is rotated.
Method SearchARFeatures Searches the map using a search definition and returns an ARFeatureCursor.
Method SetExtent Sets the visible extent of the map.
Read-only property SpatialReferenceName The name of the map's spatial reference.
Method ToMapPoint Converts a point in device coordinates (typically pixels) to coordinates in map units.
Method UndoExtent Undo to the previous map extent in the stack.
Method ZoomIn Zooms in on the map by a factor.
Method ZoomOut Zooms out on the map by a factor.
Method ZoomToBookmark Zooms the map display to the bookmark.
Method ZoomToFullExtent Zoom to the full extent of all data within the map.

CoClasses that implement IARMap

CoClasses and Classes Description
ARMap The ARMap container for the display of map data.

.NET Samples

ArcReaderControl document properties (Code Files: DocumentProperties)