IMapImage Interface

Provides access to the Map Image Interface.

When To Use

Use IMapImage to access properties of an ExportMapImage result.

Members

Name Description
Read-only property Height The height of the image in pixels.
Read-only property MapExtent The geographic extent of the map that is fitted to the height and width of the generated image.
Read-only property MapScale The scale of the generated map image.
Read-only property MimeData Binary data representing the generated image.
Read-only property MimeType The MIME type of the generated image.
Read-only property ReferenceDPI The device resolution of the image specified in the request (dots per inch).
Read-only property URL The URL of the generated image.
Read-only property VisibleLayers Array of the visible layers drawn for the generated map scale.
Read-only property Width The width of the image in pixels.

IMapImage.MapExtent Property

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

Public ReadOnly Property MapExtent As IEnvelope
public IEnvelope MapExtent {get;}

IMapImage.MapScale Property

The scale of the generated map image.

Public ReadOnly Property MapScale As Double
public double MapScale {get;}

IMapImage.VisibleLayers Property

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

Public ReadOnly Property VisibleLayers As ILongArray
public ILongArray VisibleLayers {get;}

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.

Inherited Interfaces

Interfaces Description
IImageResult Provides access to the Image Result Interface.

Classes that implement IMapImage

Classes Description
MapImage The Map Image coclass contains information about the generated map image.

Remarks

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.