com.esri.arcgis.geoprocessing
Interface IGPExtent

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPExtent

public interface IGPExtent
extends Serializable

Provides access to the properties/methods of a geoprocessing extent object.

Product Availability

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


Method Summary
 IEnvelope getExtent(int[] envType)
          Gets the type and values of extent.
 void setExtent(int envType, Object extentProvider, Object snapRasterData)
          Sets the type and values of extent.
 

Method Detail

setExtent

void setExtent(int envType,
               Object extentProvider,
               Object snapRasterData)
               throws IOException,
                      AutomationException
Sets the type and values of extent.

Product Availability

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

Supported Platforms

Windows

Parameters:
envType - A com.esri.arcgis.geoprocessing.esriGPExtentEnum constant (in)
extentProvider - A Variant (in, optional, pass null if not required)
snapRasterData - A Variant (in, optional, pass null if not required)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

IEnvelope getExtent(int[] envType)
                    throws IOException,
                           AutomationException
Gets the type and values of extent.

Product Availability

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

Supported Platforms

Windows

Parameters:
envType - A com.esri.arcgis.geoprocessing.esriGPExtentEnum constant (out: use single element array)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.