ArcObjects Library Reference  (Carto)    

IImageServer.ExportImage Method

Exports into a well-known image for a given image description.

[Visual Basic 6.0]
Function ExportImage(
    ByVal pImageDescription As IGeoImageDescription, _
    ByVal pImageType As IImageType _
) As IImageResult
[Visual Basic .NET]
Public Function ExportImage ( _
    ByVal pImageDescription As IGeoImageDescription, _
    ByVal pImageType As IImageType _
) As IImageResult
[C#]
public IImageResult ExportImage (
    IGeoImageDescription pImageDescription,
    IImageType pImageType
);
[Java]
public IImageResult exportImage (
    IGeoImageDescription pImageDescription,
    IImageType pImageType
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ExportImage(
  IGeoImageDescription* pImageDescription,
  IImageType* pImageType,
  IImageResult** ppImage
);
[C++]

Parameters

pImageDescription [in]

  pImageDescription is a parameter of type IGeoImageDescription

pImageType [in]

  pImageType is a parameter of type IImageType

ppImage [out, retval]

  ppImage is a parameter of type IImageResult

Product Availability

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

Description

Exports image data from the image server using the GeoImageDescription and ImagType.

Remarks

Exports a well-known image for a given image description. The supported formats include JPEG (plus transparency mask), PNG, BMP, and TIFF. The JPEG (plus transparency mask) format is the same as the JPEG compressed image returned from GetImage.