Interface IImageResult

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

Provides access to the Image Result Interface.

[Guid("BE47D208-D27A-4048-A118-C9167662DB74")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IImageResult

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.

Properties

Height

The height of the image in pixels.

int Height { get; }

Property Value

int

Remarks

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.

MimeData

Binary data representing the generated image.

byte[] MimeData { get; }

Property Value

byte[]

Remarks

If MIME is specified a stream of bytes is returned to the client.

MimeType

The MIME type of the generated image.

string MimeType { get; }

Property Value

string

ReferenceDPI

The device resolution of the image specified in the request (dots per inch).

double ReferenceDPI { get; }

Property Value

double

URL

The URL of the generated image.

string URL { get; }

Property Value

string

Remarks

If URL is specified the image is stored as a file at the specified location (Physical Output Directory) and can be accessed by internet clients through the Virtual Output Directory.

Width

The width of the image in pixels.

int Width { get; }

Property Value

int

Remarks

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.