Provides access to members that set customized drawing properties.
Product Availability
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 | ||
---|---|---|
CustomRenderer | The custom renderer for the FeatureClass. | |
CustomRendererPropPageCLSID | The custom renderer's property page CLSID. | |
DoesCustomDrawing | Indicates whether the FeatureClass does custom drawing. | |
ExclusiveCustomRenderer | Indicates whether the custom renderer is exclusive or not. | |
HasCustomRenderer | Indicates whether the feature class has a custom renderer. | |
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 FeatureLayers FeatureCursor.