ArcObjects Library Reference (Display)  

IMultiLayerLineSymbol.AddLayer Method

Adds a layer to the line symbol.

[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal lineLayer As ILineSymbol _
)
[C#]
public void AddLayer (
    ILineSymbol lineLayer
);
[C++]
HRESULT AddLayer(
  ILineSymbol* lineLayer
);
[C++]

Parameters

lineLayer [in]

  lineLayer is a parameter of type ILineSymbol

Product Availability

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

Description

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.

See Also

IMultiLayerLineSymbol Interface

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) |