com.esri.arcgis.carto
Interface IScaleLine

All Superinterfaces:
Serializable
All Known Implementing Classes:
ScaleLine, SteppedScaleLine

public interface IScaleLine
extends Serializable

Provides access to members that control a line scale bar.

Remarks

Scale line scale bars are the only class of scale bars that represent a scale bar as a line. ArcMap currently has one type of scale line scale bar—the stepped-line scale bar:


The IScaleLine interface manages the one line symbol used by scale lines.

Product Availability

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


Method Summary
 ILineSymbol getLineSymbol()
          Symbol used to draw the line.
 void setLineSymbol(ILineSymbol symbol)
          Symbol used to draw the line.
 

Method Detail

getLineSymbol

ILineSymbol getLineSymbol()
                          throws IOException,
                                 AutomationException
Symbol used to draw the line.

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.

setLineSymbol

void setLineSymbol(ILineSymbol symbol)
                   throws IOException,
                          AutomationException
Symbol used to draw the line.

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.