|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMultiLayerLineSymbol
Provides access to members that control the multilayer line symbol.
IMultiLayerLineSymbol is used for creating composite line symbols consisting of multiple layers. A layer can be of any type that is supported by the ILineSymbol interface. Use the ILineSymbol interface for setting additional properties.
ILineSymbol| Method Summary | |
|---|---|
void |
addLayer(ILineSymbol lineLayer)
Adds a layer to the line symbol. |
void |
clearLayers()
Removes all line symbol layers. |
void |
deleteLayer(ILineSymbol lineLayer)
Deletes a layer from the line symbol. |
void |
drawLayer(int index,
IGeometry geometry)
Draws a line symbol layer. |
ILineSymbol |
getLayer(int index)
Line symbol per index value. |
int |
getLayerCount()
The number of layers in the symbol. |
void |
moveLayer(ILineSymbol lineLayer,
int toIndex)
Move line symbol layer to different layer position. |
| Methods inherited from interface com.esri.arcgis.display.ILineSymbol |
|---|
getColor, getWidth, setColor, setWidth |
| Method Detail |
|---|
int getLayerCount()
throws IOException,
AutomationException
LayerCount returns the total number of layers currently contained in the IMultiLayerLineSymbol.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILineSymbol getLayer(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addLayer(ILineSymbol lineLayer)
throws IOException,
AutomationException
AddLayer adds a single layer to the IMultiLayerLineSymbol. The layer can be of any type supported by the ILineSymbol interface except types implementing IMultiLayerLineSymbol. In this case an E_INVALIDARG HRESULT will be thrown. Therefore, a MultiLayerLineSymbol cannot be imbeded within another MultiLayerLineSymbol.
lineLayer - A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteLayer(ILineSymbol lineLayer)
throws IOException,
AutomationException
DeleteLayer deletes the layer at the given index.
lineLayer - A reference to a com.esri.arcgis.display.ILineSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void moveLayer(ILineSymbol lineLayer,
int toIndex)
throws IOException,
AutomationException
MoveLayer moves the spcefied ILineSymbol to the specified index within the IMultiLayerLineSymbol.
lineLayer - A reference to a com.esri.arcgis.display.ILineSymbol (in)toIndex - The toIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void clearLayers()
throws IOException,
AutomationException
ClearLayers removes all the layers contained within the IMultiLayerLineSymbol.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void drawLayer(int index,
IGeometry geometry)
throws IOException,
AutomationException
DrawLayer draws the ILineSymbol stored at the specified index within the IMultiLayerLineSymbol.
index - The index (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||