com.esri.arcgis.display
Interface ISimpleLineSymbol

All Superinterfaces:
ILineSymbol, Serializable
All Known Implementing Classes:
SimpleLineSymbol

public interface ISimpleLineSymbol
extends ILineSymbol, Serializable

Provides access to members that control the simple line symbol.

Description

ISimpleLineSymbol is used to create a line symbol comprised of a predefinded set of styles. The availble styles are provided by the esriSimpleLineStyle enumeration. Use the ILineSymbol interface to set additional properties for ISimpleLineSymbols.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 int getStyle()
          The style of the line symbol.
 void setStyle(int style)
          The style of the line symbol.
 
Methods inherited from interface com.esri.arcgis.display.ILineSymbol
getColor, getWidth, setColor, setWidth
 

Method Detail

getStyle

int getStyle()
             throws IOException,
                    AutomationException
The style of the line symbol.

Description

Style is the enumeration that controls the pattern used as the line. The avaialble line options include: esriSLSDash, esriSLSDashDot, esriSLSDashDotDot, esriSLSDot, esriSLSInsideFrame, esriSLSNull and esriSLSSolid. esriSLSSolid is the default Style.

Remarks

ESRISLSInsideFrame is not implemented.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriSimpleLineStyle constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyle

void setStyle(int style)
              throws IOException,
                     AutomationException
The style of the line symbol.

Description

Style is the enumeration that controls the pattern used as the line. The avaialble line options include: esriSLSDash, esriSLSDashDot, esriSLSDashDotDot, esriSLSDot, esriSLSInsideFrame, esriSLSNull and esriSLSSolid. esriSLSSolid is the default Style.

Remarks

ESRISLSInsideFrame is not implemented.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
style - A com.esri.arcgis.display.esriSimpleLineStyle constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.