ArcObjects Library Reference (Carto)  

IImageResult Interface

Provides access to the Image Result Interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use IImageResult to access properties of MapServer output images.

Members

Description
Read-only property Height The height of the image in pixels.
Read-only property MimeData Binary data representing 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 Width The width of the image in pixels.

CoClasses that implement IImageResult

CoClasses and Classes Description
ImageResult The Image Result coclass contains information about the generated image.
LayoutImage The Layout Image coclass contains information about the generated layout image.
MapImage The Map Image coclass contains information about the generated map image.
SimpleMapImage A raster that is rendered using a renderer.

Remarks

MapServer output is created using ExportMapImage on IMapServer and the following methods on IMapServerLayout: ExportLayout, ExportLegend, ExportNorthArrow and ExportScaleBar. SymbolImage on MapServerLegendClass is also an ImageResult. In order to control the size of an exported map image, IMapServerInit contains two properties: MaxImageHeight and MaxImageWidth . The default value for these properties is 2048 pixels.

.NET Related Topics

How to apply a raster function to an image service | Managing application state | Map services |