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


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

IMapDescription2 Interface

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

Product Availability

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

When To Use

Use the IMapDescription interface to access read and write properties of a map (data frame).

Members

Name Description
Read/write property BackgroundSymbol Background symbol of the Map.
Read/write property CustomGraphics Custom graphics.
Read/write property LayerDescriptions A collection of Layer Description objects, each describing a layer within the map (data frame).
Read/write property MapArea The display area of the map (data frame).
Read/write property MapRotation The angle/rotation of the map (data frame) in degrees, measured anti-clockwise.
Read/write property Name The name of the map (data frame).
Read/write property SelectionColor The default selection color.
Read/write property SpatialReference The spatial reference of the map (data frame).
Read/write property TransparentColor The color that is transparent (100 %).

Classes that implement IMapDescription2

Classes Description
MapDescription The Map Description coclass contains settings of a map in the current document.

Remarks

Use IMapDescription2 to access map settings that can be changed on the server object without changing the state of the underlying fine-grained ArcObjects that the map document is based on. Please note the difference between IMapServerInfo and IMapDescription. MapServerInfo is used to retrieve information about a map, such as the name of the map, the background color or the spatial extent for the map. These settings cannot be changed without direct access to the map document or the fine-grained ArcObjects it is based on.