Provides access to the available properties of a map server info object.
Members
Name | Description | |
---|---|---|
BackgroundColor | The background color 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). | |
MaxScale | The maximum visible scale for the service. | |
MinScale | The minimum visible scale for the service. | |
Name | The name of the map (data frame). | |
StandaloneTableDescriptions | Standalone tables descriptions that can passed in to other methods. | |
StandaloneTableInfos | Standalone tables infromation in a given map. |
IMapServerInfo.BackgroundColor Property
The background color of the map (data frame).
Public ReadOnly Property BackgroundColor As IColorDescription
public IColorDescription BackgroundColor {get;}
Remarks
The background color is set in the map document itself. If background color is not explicitly set in the original mxd, the default color is set to an off-white color (RGB value of 253,253,253).
IMapServerInfo.Bookmarks Property
The published bookmarks for the map.
Public ReadOnly Property Bookmarks As IMapServerBookmarks
public IMapServerBookmarks Bookmarks {get;}
Remarks
Bookmarks are set in the map document itself.
IMapServerInfo.CopyrightText Property
Copyright information associated with the layer.
Public ReadOnly Property CopyrightText As String
public string CopyrightText {get;}
IMapServerInfo.DefaultMapDescription Property
The default map settings.
Public ReadOnly Property DefaultMapDescription As IMapDescription
public IMapDescription DefaultMapDescription {get;}
Remarks
The DefaultMapDescription refers to map settings set in the original map document. Changes to map settings using IMapDescription are temporary and do not affect the default map description returned by DefaultMapDescription.
The default settings for a MapServer object can be changed in two ways. First, you can make changes to the original map document and reinitialize the MapServer object. The other way to change the DefaultMapDescription is to use IMapServerObjects to access the fine-grained ArcObjects that the map settings are based, make the desired changes, and use the RefreshServerObjects method to overwite the old DefaultMapDescription with a new one. This should be done with objects in a non-pooled environment. Changing the state of pooled objects this way will lead to unexpected results.
IMapServerInfo.Description Property
The description of the map (data frame). This property is set in the General tab of the Data Frame Properties dialog.
Public ReadOnly Property Description As String
public string Description {get;}
IMapServerInfo.Extent Property
The current extent of the map (data frame).
Public ReadOnly Property Extent As IEnvelope
public IEnvelope Extent {get;}
Remarks
This is the extent of the DefaultMapDescription.
IMapServerInfo.FullExtent Property
The full extent of the map (data frame).
Public ReadOnly Property FullExtent As IEnvelope
public IEnvelope FullExtent {get;}
Remarks
The full extent of the map can either be the combined extent of all layers within the map or a custom full extent set by on the data frame by the author of the map document being served.
IMapServerInfo.MapLayerInfos Property
A collection of Map Layer Info objects, each containing information about a layer in the map (data frame).
Public ReadOnly Property MapLayerInfos As IMapLayerInfos
public IMapLayerInfos MapLayerInfos {get;}
IMapServerInfo.MapUnits Property
The units for the map (data frame).
Public ReadOnly Property MapUnits As esriUnits
public esriUnits MapUnits {get;}
Remarks
The map units are set in the map document itself and cannot be changed using MapServer. The map's original spatial reference determines the units. Changing the SpatialReference property of IMapDescription will not change the value of the MapUnits property onIMapServerInfo.
IMapServerInfo.MaxScale Property
The maximum visible scale for the service.
Public ReadOnly Property MaxScale As Double
public double MaxScale {get;}
IMapServerInfo.MinScale Property
The minimum visible scale for the service.
Public ReadOnly Property MinScale As Double
public double MinScale {get;}
IMapServerInfo.Name Property
The name of the map (data frame).
Public ReadOnly Property Name As String
public string Name {get;}
Remarks
If two (or more) data frames have the same name in the map document, MapServer adds a distinctive number at the end of the second name. E.g. Layers and Layers2.
IMapServerInfo.StandaloneTableDescriptions Property
Standalone tables descriptions that can passed in to other methods.
Public ReadOnly Property StandaloneTableDescriptions As IStandaloneTableDescriptions
public IStandaloneTableDescriptions StandaloneTableDescriptions {get;}
IMapServerInfo.StandaloneTableInfos Property
Standalone tables infromation in a given map.
Public ReadOnly Property StandaloneTableInfos As IStandaloneTableInfos
public IStandaloneTableInfos StandaloneTableInfos {get;}
Classes that implement IMapServerInfo
Classes | Description |
---|---|
MapServerInfo | The Map Server Info coclass provides read-only information about a map. |