Interface IMapImage

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll

Provides access to the Map Image Interface.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8A77BEA2-5541-4ADE-93BC-D5CBA56034C8")]
public interface IMapImage : IImageResult

Remarks

The MapImage coclass is a subclass of ImageResult and will inherit all IImageResult properties.

Properties

Height

int Height { get; }

Property Value

int

MapExtent

The geographic extent of the map that is fitted to the height and width of the generated image.

IEnvelope MapExtent { get; }

Property Value

IEnvelope

MapScale

The scale of the generated map image.

double MapScale { get; }

Property Value

double

MimeData

byte[] MimeData { get; }

Property Value

byte[]

MimeType

string MimeType { get; }

Property Value

string

ReferenceDPI

double ReferenceDPI { get; }

Property Value

double

URL

string URL { get; }

Property Value

string

VisibleLayers

Array of the visible layers drawn for the generated map scale.

ILongArray VisibleLayers { get; }

Property Value

ILongArray

Remarks

VisibleLayers is defined by a combination of layer visibility in the TOC (i.e. is the layer "on"?) and layer visibility dependent on map scale. Scale dependency for a layer is set in the original map document. If the layer is scale dependent (i.e. a maximum and/or minimum scale has been set) and the map scale falls out of this range, layer visibility will be false. Do not confuse this property with the visibility property on ILayerDescription which is based solely on layer visibility in the TOC (is the layer "on" or "off"). The IMapImage interface inherits all IImageResult properties.

Width

int Width { get; }

Property Value

int