This document is archived and information here might be outdated. Recommended version. |
Provides access to the Image Result Interface.
Use IImageResult to access properties of MapServer output images.
Name | Description | |
---|---|---|
Height | The height of the image in pixels. | |
MimeData | Binary data representing the generated image. | |
ReferenceDPI | The device resolution of the image specified in the request (dots per inch). | |
URL | The URL of the generated image. | |
Width | The width of the image in pixels. |
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. |
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.