com.esri.arcgis.geometry
Interface IPolylineArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
IPolylineArrayProxy, PolylineArray

public interface IPolylineArray
extends Serializable

Provides access to the IPolylineArray 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(IPolyline pPolyline)
          Adds a polyline.
 int getCount()
          The polyline count.
 IPolyline getElement(int index)
          The polyline at the specified position.
 void insert(int index, IPolyline polyline)
          Adds a polyline at the specified position.
 void remove(int index)
          Removes the polyline at the specified position.
 void removeAll()
          Removes all polylines.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The polyline 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

IPolyline getElement(int index)
                     throws IOException,
                            AutomationException
The polyline 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.geometry.IPolyline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the polyline 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
Removes all polylines.

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(IPolyline pPolyline)
         throws IOException,
                AutomationException
Adds a polyline.

Product Availability

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

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

insert

void insert(int index,
            IPolyline polyline)
            throws IOException,
                   AutomationException
Adds a polyline at the specified position.

Product Availability

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

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