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


IFeatureClassDraw Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureClassDraw Interface

Provides access to members that set customized drawing properties.

Product Availability

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

Description

The IFeatureClassDraw interface is an optional interface for feature class extensions, used to specify custom drawing behavior in ArcMap.

When To Use

Before a FeatureLayer draws features in a feature class, it will check the FeatureClassExtension for support of this interface. Custom drawing can be achieved through the use of a custom renderer or through the use of a custom feature that implements IFeatureDraw::Draw.

Members

Description
Read-only property CustomRenderer The custom renderer for the FeatureClass.
Read-only property CustomRendererPropPageCLSID The custom renderer's property page CLSID.
Method DoesCustomDrawing Indicates whether the FeatureClass does custom drawing.
Read-only property ExclusiveCustomRenderer Indicates whether the custom renderer is exclusive or not.
Method HasCustomRenderer Indicates whether the feature class has a custom renderer.
Read-only property RequiredFieldsForDraw The required fields for drawing a Feature.

CoClasses that implement IFeatureClassDraw

CoClasses and Classes Description
SchematicInMemoryFeatureClass (esriSchematic) Schematic in memory feature class object.

Remarks

If using a custom renderer, the ExclusiveCustomRenderer property can be used to restrict the available renderers to the custom one for the feature class. If the custom renderer is configurable, a configuration property page can be specified with the CustomRendererPropPageCLSID property. If using a custom feature and that feature utilizes extra fields beyond the Shape for drawing, it is necessary to specify those fields in the RequiredFieldsForDraw property or they will not be returned in the FeatureLayer�s FeatureCursor.

See Also

IClassExtension Interface | IFeatureDraw Interface