This document is archived and information here might be outdated. Recommended version. |
Provides access to the available properties of a map server info object.
Use the IMapServerInfo interface to access read-only information about a map (data frame).
Name | Description | |
---|---|---|
BackgroundColor | The background color of the map (data frame). | |
BackgroundSymbol | Background symbol of the map (data frame). | |
Bookmarks | The published bookmarks for the map. | |
CopyrightText | Copyright information associated with the layer. | |
DefaultMapDescription | The default map settings. | |
Description | The description of the map (data frame). This property is set in the General tab of the Data Frame Properties dialog. | |
Extent | The current extent of the map (data frame). | |
FullExtent | The full extent of the map (data frame). | |
MapLayerInfos | A collection of Map Layer Info objects, each containing information about a layer in the map (data frame). | |
MapUnits | The units for the map (data frame). | |
Name | The name of the map (data frame). |
Classes | Description |
---|---|
MapServerInfo | The Map Server Info coclass provides read-only information about a map. |
IMapServerInfo provides access to members describing the default state of a MapServer object, such as the name of the map, the background color or the spatial extent of the map. This information cannot be changed without changing the state of the underlying fine-grained ArcObjects.
Map settings of the Server object can be permanently changed by accessing fine-grained ArcObjects. This is accomplished using IMapServerObjects2. This should be done with objects in a non-pooled environment. Changing the state of pooled objects this way will lead to unexpected results.
Please note the difference between IMapServerInfo and IMapDescription2. IMapServerInfo provides read-only access to its members. IMapDescription2 provided read-write access to its members. Use IMapDescription2 to access and change map settings without changing the state of the fine-grained ArcObejcts.