This document is archived and information here might be outdated. Recommended version. |
Indicates if the specified feature class can be rendered on the given display.
[Visual Basic .NET] Public Function CanRender ( _ ByVal featClass As IFeatureClass, _ ByVal Display As IDisplay _ ) As Boolean
[C#] public bool CanRender ( IFeatureClass featClass, IDisplay Display );
[C++]
HRESULT CanRender(
IFeatureClass* featClass,
IDisplay* Display
);
[C++] Parameters featClass [in]
featClass is a parameter of type IFeatureClass* Display [in]
Display is a parameter of type IDisplay*
If the renderer is not applicable to a feature layer, then it can return False in response to a CanRender method. For example, the dot-density renderer is only applicable to polygon feature layers and returns False in response to other feature layers.