com.esri.arcgis.geoprocessing
Interface IGPSpatialReference

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPSpatialReference

public interface IGPSpatialReference
extends Serializable

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

Product Availability

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


Method Summary
 ISpatialReference getSpatialReference()
          The spatial reference of the geoprocessing spatial reference object.
 void setSpatialReferenceByRef(ISpatialReference ppSpatialReference)
          The spatial reference of the geoprocessing spatial reference object.
 

Method Detail

getSpatialReference

ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The spatial reference of the geoprocessing spatial reference object.

Product Availability

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

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

void setSpatialReferenceByRef(ISpatialReference ppSpatialReference)
                              throws IOException,
                                     AutomationException
The spatial reference of the geoprocessing spatial reference object.

Product Availability

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

Parameters:
ppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.