com.esri.arcgis.geoprocessing
Interface IGPCoordinateSystem

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPCoordinateSystem, GPSpatialReference

public interface IGPCoordinateSystem
extends Serializable

Provides access to the properties/methods of a geoprocessing coordinate system 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.

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.