This document is archived and information here might be outdated. Recommended version. |
Provides access to the Selection Resolution Chip.
Name | Description | |
---|---|---|
AllowAnnoFeatures | Indicates if annotation feature candidates are allowed. | |
AllowLineFeatures | Indicates if line feature candidates are allowed. | |
AllowPointFeatures | Indicates if point feature candidates are allowed. | |
AllowPolygonFeatures | Indicates if polygon feature candidates are allowed. | |
CombinationMethod | The combination method used when clicked. | |
DoModal | Shows the selection resolution chip and require a response. | |
Hide | Hides the selection resolution chip. | |
MustBeEditable | Indicates if the candidate features must be editable. | |
MustBeSelectable | Indicates if the candidate features must be selectable. | |
Show | Shows the selection resolution chip. |
Classes | Description |
---|---|
SelectionResolutionChip | An editor extension for resolving selection of multiple features. |
Use IEditor::FindExtension to access the SelectionResolutionChip.
Use the code below to get a reference to the SelectionResolutionChip
public void GetSelectionChipByCLSID()
{
//If your project is an Add-In you are given the Application. Otherwise you can get the app from the
//hook parameter.
UID editorUID = new UIDClass();
editorUID.Value = "esriEditor.Editor";
_Editor = ArcMap.Application.FindExtensionByCLSID(editorUID) as IEditor;
UID chipUid = new UIDClass();
chipUid.Value = "esriEditor.SelectionResolutionChip";
ISelectionResolutionChip _SelectionChip = editor.FindExtension(chipUid) as ISelectionResolutionChip;
}
Public Sub GetSelectionChipByCLSID()
Dim eUID As UID = New UIDClass()
eUID.Value = "esriEditor.Editor"
'This Code would be used in an Add-in, if the project is not an add-in the Application object can be 'obtained 'from the hook parameter.
_Editor = TryCast(My.ArcMap.Application.FindExtensionByCLSID(eUID), IEditor)
Dim chipUID As UID = New UIDClass()
chipUID.Value = "esriEditor.SelectionResolutionChip"
Dim _SelectionChip As ISelectionResolutionChip = TryCast(_Editor.FindExtension(chipUID), ISelectionResolutionChip)
End Sub