com.esri.arcgis.carto
Interface IImageResult2

All Superinterfaces:
Serializable
All Known Implementing Classes:
ImageResult, MapImage, SimpleMapImage

public interface IImageResult2
extends Serializable

Provides access to the Image Result Interface.

Product Availability

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


Method Summary
 int getHeight()
          The height of the image in pixels.
 byte[] getMimeData()
          Binary data representing the generated image.
 String getMimeType()
          The MIME type of the generated image.
 double getReferenceDPI()
          The device resolution of the image specified in the request (dots per inch).
 String getURL()
          The URL of the generated image.
 int getWidth()
          The width of the image in pixels.
 

Method Detail

getMimeData

byte[] getMimeData()
                   throws IOException,
                          AutomationException
Binary data representing the generated image.

Product Availability

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

Returns:
An unsigned byte
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getURL

String getURL()
              throws IOException,
                     AutomationException
The URL of the generated image.

Product Availability

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

Returns:
The uRL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

int getHeight()
              throws IOException,
                     AutomationException
The height of the image in pixels.

Product Availability

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

Returns:
The heightPixels
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

int getWidth()
             throws IOException,
                    AutomationException
The width of the image in pixels.

Product Availability

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

Returns:
The widthPixels
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReferenceDPI

double getReferenceDPI()
                       throws IOException,
                              AutomationException
The device resolution of the image specified in the request (dots per inch).

Product Availability

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

Returns:
The dpi
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMimeType

String getMimeType()
                   throws IOException,
                          AutomationException
The MIME type of the generated image.

Product Availability

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

Returns:
The pMimeType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.