This document is archived and information here might be outdated.  Recommended version.


IMultiLayerFillSymbol.AddLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IM > IMultiLayerFillSymbol Interface > IMultiLayerFillSymbol.AddLayer Method
ArcGIS Developer Help

IMultiLayerFillSymbol.AddLayer Method

Add fill symbol layer.

[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal fillLayer As IFillSymbol _
)
[C#]
public void AddLayer (
    IFillSymbol fillLayer
);
[C++]
HRESULT AddLayer(
  IFillSymbol* fillLayer
);
[C++]
Parameters
fillLayer [in]

fillLayer is a parameter of type IFillSymbol*

Product Availability

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

Description

AddLayer adds a single layer to the IMultiLayerFillSymbol. The layer can be of any type supported by the IFillSymbol interface except types implementing IMultiLayerFillSymbol.  In this case an E_INVALIDARG HRESULT will be thrown. Therefore, a MultiLayerFillSymbol cannot be imbeded within another MultiLayerFillSymbol.

See Also

IMultiLayerFillSymbol Interface