This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescription2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to the available properties of a map description object.
Use the IMapDescription interface to access read and write properties of a map (data frame).
Description | ||
---|---|---|
BackgroundSymbol | Background symbol of the Map. | |
CustomGraphics | Custom graphics. | |
LayerDescriptions | A collection of Layer Description objects, each describing a layer within the map (data frame). | |
MapArea | The display area of the map (data frame). | |
MapRotation | The angle/rotation of the map (data frame) in degrees, measured anti-clockwise. | |
Name | The name of the map (data frame). | |
SelectionColor | The default selection color. | |
SpatialReference | The spatial reference of the map (data frame). | |
TransparentColor | The color that is transparent (100 %). |
CoClasses and Classes | Description |
---|---|
MapDescription | The Map Description coclass contains settings of a map in the current document. |
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.