This document is archived and information here might be outdated. Recommended version. |
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*
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.