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


MapDescription CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

MapDescription CoClass

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IMapDescription Provides access to the available properties of a map description object.
IMapDescription2 Provides access to the available properties of a map description object.
IMapServerGeoTransformation Provides access to members that control the export set of geographic transformations.
IMapTimeDescription Provides access to time properties of a MapDescription.
IMapTimeDescription2 Provides access to time properties of a MapDescription.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

A MapServer service can have an associated tiled map cache. This cache is a collection of pre-rendered map tiles that are used for the display of the map service. A cache can either be a fused cache where all layers within the map service are cached or a Multi-layer cache where only select map layers are cached. Working with MapServer and a cached map service can be different than working with a map service without a cache. Though you will be able to query against a cached map service just as you would a non-cached map service, you will see differences when working with cached map service's MapDescription.

If the map service has a fused cache custom graphics, including the rendering of selected features, cannot be applied to the MapDescription. In addition, applying a new spatial reference on cached map services though IMapDescription will not work. The cached layers will not draw. You will need to use ITileCacheInfo to change the spatial reference.