com.esri.arcgis.carto
Interface ILineElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
LineElement

public interface ILineElement
extends Serializable

Provides access to members that control the Line element.

When To Use

ILineElement is the default interface of the LineElement coclass and is only implemented by that object.

Use this interface when you want to retrieve or set the symbol being used to draw the line element (graphic).

Product Availability

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


Method Summary
 ILineSymbol getSymbol()
          Line symbol this element uses to draw itself.
 void setSymbol(ILineSymbol symbol)
          Line symbol this element uses to draw itself.
 

Method Detail

getSymbol

ILineSymbol getSymbol()
                      throws IOException,
                             AutomationException
Line symbol this element uses to draw itself.

Remarks

The Symbol property allows for the retrieval or update of the line symbol being used to display the LineElement.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setSymbol

void setSymbol(ILineSymbol symbol)
               throws IOException,
                      AutomationException
Line symbol this element uses to draw itself.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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