IFeatureGroup80

A feature group is a group of features within a layer that share the same geometry and display style. A feature layer can have multiple feature groups, each containing a homogeneous collection of point polyline, or polygon objects. This interface supplies properties and methods for interacting with a feature group. It returns and sets property values and annotation properties and provides methods for creating and removing features from a feature group.

If a feature group is an annotation feature group (these groups can be identified using the IsAnnotation method), the IFeatures80 that they return can only be used to query the point position of annotations and to read attribute values. Any values set for an annotation IFeature80 will not persist.

 

 

Properties

 

DisplayAs

Gets and sets the symbol type that is used to represent the features in the group.

Features

Obsolete. Use GetCurrentFeatures instead

GeometryType

Gets the geometry type of the features in the group.

TreeItem

An ITreeItem80 describing the representation of the group in the Project Tree.

 

Methods

 

CreateFeature

Adds a new feature to the feature group.

DrawFeature

Activates an interactive mode for drawing a feature in the 3D World.

ExecuteGetDataSourceFeatureIdQuery

Returns a feature based on the feature ID it was assigned by the data source.

GetClassification

Returns the classification XML for a specified property of the group's features.

GetCurrentFeatures

Returns the features that are currently loaded when this method is called.

GetFeatureByObjectID

Returns the feature based on object ID.

GetProperty

Returns the value set for the specified property.

IsAnnotation

Indicates whether the feature group contains annotation features.

IsClassified

Indicates whether a classification XML was set for a specified property. This method returns TRUE if a classification XML was set, and FALSE if a value (e.g., “Text” was set to “Bus Station”) was set.

OpenStyleEditorDialog

Opens the Field by Attribute dialog box to control the appearance and behavior of layer features based on field attribute values.

RemoveFeature

Removes a feature from the feature group.

SetClassification

Sets the value of a specified feature property.

SetProperty

Sets a value for the specified property.