Provides access to the Map Image Interface.
When To Use
Use IMapImage to access properties of an ExportMapImage result.
Members
Name | Description | |
---|---|---|
Height | The height of the image in pixels. | |
MapExtent | The geographic extent of the map that is fitted to the height and width of the generated image. | |
MapScale | The scale of the generated map image. | |
MimeData | Binary data representing the generated image. | |
MimeType | The MIME type of the generated image. | |
ReferenceDPI | The device resolution of the image specified in the request (dots per inch). | |
URL | The URL of the generated image. | |
VisibleLayers | Array of the visible layers drawn for the generated map scale. | |
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.