com.esri.arcgis.geoprocessing
Interface IGPLayerSupport

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGPLayerSupportProxy

public interface IGPLayerSupport
extends Serializable

Provides access to GPLayerSupport properties.

Product Availability

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


Method Summary
 IGPLayer makeGPLayer(ILayer pLayer)
          Makes a GPLayer from a layer.
 ILayer makeLayer(IGPValue pValue, String name, Object pRenderer)
          Makes a layer from a value.
 

Method Detail

makeGPLayer

IGPLayer makeGPLayer(ILayer pLayer)
                     throws IOException,
                            AutomationException
Makes a GPLayer from a layer.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IGPLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeLayer

ILayer makeLayer(IGPValue pValue,
                 String name,
                 Object pRenderer)
                 throws IOException,
                        AutomationException
Makes a layer from a value.

Product Availability

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

Parameters:
pValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
name - The name (in)
pRenderer - A reference to another Object (IUnknown) (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.