This document is archived and information here might be outdated. Recommended version. |
A dummy layer used to display legend items in the style gallery (Singleton).
Interfaces | Description |
---|---|
ILayer | Provides access to members that work with all layers. |
ILegendInfo | Provides access to members that control legend information provided by a renderer. |
DummyLayer implements ILayer, but does not implement all of its members. The only members implemented are ILayer.Cached (Get only), ILayer.Valid and ILayer.Visible (Get Only). If you try to call any other members, you'll get an error, HRESULT of E_NOTIMPL in C++. In VB, this is Error 445, "Object doesn't support this action".
DummyLayer does not implement ILegendInfo.SymbolsAreGraduated (Put). It you attempt to call this member you'll get an error, HRESULT of E_NOTIMPL in C++. In VB, this is Error 445, "Object doesn't support this action".