This document is archived and information here might be outdated. Recommended version. |
Removes a layer from the representation rule.
[Visual Basic .NET]
Public Sub RemoveLayer ( _
ByVal index As Integer _
)
[C#]
public void RemoveLayer (
int index
);
[C++]
HRESULT RemoveLayer(
long index
);
[C++] Parameters index [in]
index is a parameter of type long
If RemoveLayer method is used to remove the very last symbol layer present in a representation rule, it is the responsibility of the developer to add atleast one symbol layer. Use InsertLayer or IRepresentationRuleInit::InitWithSymbol methods to achieve this.