ArcGIS Enterprise SDK
IImageResult Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.ArcGIS.Carto > Interfaces > II > IImageResult Interface
ArcGIS Developer Help

IImageResult Interface

Provides access to the Image Result Interface.

When To Use

Use IImageResult to access properties of MapServer output images.

Members

Name 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 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 Width The width of the image in pixels.

Classes that implement IImageResult

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.

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.