Provides access to members that set customized drawing properties.
Description
The IFeatureClassDrawinterface is an optional interface for feature class extensions, used to specify custom drawing behavior in ArcMap.
When To Use
Before a FeatureLayerdraws features in a feature class, it will check the FeatureClassExtensionfor 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
Name | 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. |
IFeatureClassDraw.CustomRenderer Property
The custom renderer for the FeatureClass.
Public ReadOnly Property CustomRenderer As Object
public object CustomRenderer {get;}
IFeatureClassDraw.CustomRendererPropPageCLSID Property
The custom renderer's property page CLSID.
Public ReadOnly Property CustomRendererPropPageCLSID As UID
public UID CustomRendererPropPageCLSID {get;}
IFeatureClassDraw.DoesCustomDrawing Method
Indicates whether the FeatureClass does custom drawing.
Public Function DoesCustomDrawing ( _
) As Boolean
public bool DoesCustomDrawing (
);
IFeatureClassDraw.ExclusiveCustomRenderer Property
Indicates whether the custom renderer is exclusive or not.
Public ReadOnly Property ExclusiveCustomRenderer As Boolean
public bool ExclusiveCustomRenderer {get;}
IFeatureClassDraw.HasCustomRenderer Method
Indicates whether the feature class has a custom renderer.
Public Function HasCustomRenderer ( _
) As Boolean
public bool HasCustomRenderer (
);
IFeatureClassDraw.RequiredFieldsForDraw Property
The required fields for drawing a Feature.
Public ReadOnly Property RequiredFieldsForDraw As IFields
public IFields RequiredFieldsForDraw {get;}
Classes that implement IFeatureClassDraw
Classes | Description |
---|
Remarks
If using a custom renderer, the ExclusiveCustomRendererproperty 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 CustomRendererPropPageCLSIDproperty. 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 RequiredFieldsForDrawproperty or they will not be returned in the FeatureLayer�s FeatureCursor.