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


IMapDescriptor Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescriptor Interface
ArcGIS Developer Help

IMapDescriptor Interface

Provides access to the available properties of a map descriptor object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method AddMapSurround Call this multiple times to place surrounds on the surface of the map. Specify coordinates in pixels. Origin is at lower left corner.
Method AddPixelGraphic Call this multiple times to place graphics in pixel space on the map above Custom Graphics and Map Surrounds. Specify coordinates in pixels. Origin is at lower left corner.
Read/write property Angle The angle/rotation of the map in degrees, measured anti-clockwise.
Read/write property BackgroundColor The background color of the map.
Method ClearMapSurrounds Remove all surrounds from the map.
Method ClearPixelGraphics Remove all pixel graphics from the map.
Read/write property CustomGraphics Custom graphics of the map.
Read/write property Extent The current extent of the map.
Read/write property FullExtent The full extent of the map.
Read/write property KeepAspectRatio Indicates whether of not to maintain the aspect ratio.
Read/write property LabelBarriers The barriers used for labeling.
Read/write property LayerOrder The layer order for the map. The VARIANT value is a SAFEARRAY of long integers that list the layerIDs in order. The first element is top layer in the map. Layers that are within groups are not listed in this array.
Read/write property Layers The layer descriptors of the map.
Read/write property MapCenter The center of the map.
Read/write property MapScale The scale of the map.
Read/write property Name The name of the map.
Read/write property SpatialReference The spatial reference of the map.
Read/write property TransparentColor The color used for transparency (100 %).

Classes that implement IMapDescriptor

Classes Description
MapDescriptor The Map Descriptor coclass contains a description of a map in the current document.