com.esri.arcgis.display
Interface IColorRampElements

All Superinterfaces:
Serializable
All Known Implementing Classes:
ColorRampElements

public interface IColorRampElements
extends Serializable

Provides access to the ColorRamp Elements Interface.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 void add(IColorRamp pColorRamp)
          Add a ColorRamp element.
 int getCount()
          The ColorRamp elements count.
 IColorRamp getElement(int index)
          The ColorRamp element at the specified position.
 void insert(int index, IColorRamp pColorRamp)
          Add a ColorRamp element at the specified posiiton.
 void remove(int index)
          Remove ColorRamp element at the specified position.
 void removeAll()
          Remove all ColorRamp elements.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The ColorRamp elements count.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

IColorRamp getElement(int index)
                      throws IOException,
                             AutomationException
The ColorRamp element at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.display.IColorRamp
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Remove ColorRamp element at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Remove all ColorRamp elements.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IColorRamp pColorRamp)
         throws IOException,
                AutomationException
Add a ColorRamp element.

Product Availability

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

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

insert

void insert(int index,
            IColorRamp pColorRamp)
            throws IOException,
                   AutomationException
Add a ColorRamp element at the specified posiiton.

Product Availability

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

Parameters:
index - The index (in)
pColorRamp - A reference to a com.esri.arcgis.display.IColorRamp (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.