This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IC > IConstructionMiniBar Interface (ArcObjects .NET 10.4 SDK) |
Provides access to controlling the construction minibar.
Description | ||
---|---|---|
Active | Activate/Deactivate the Construction Minibar. | |
Hide | Hides the construction minibar. | |
IsVisible | Indicates whether the construction minibar is visible. | |
ProcessKeyDown | Processes keyboard input. | |
Show | Shows the construction minibar. | |
UpdateTransparency | Updates the coordinate display and adjusts the tranparency of the window. |
CoClasses and Classes | Description |
---|---|
ConstructionMiniBar | An editor extension for working with the feature construction mini toobar |
Use IEditor::FindExtension to access the ConstructionMiniBar. This is also known as the Feature Construction Mini Toolbar.
Use the code below to get a reference to the ConstructionMiniBar.
public void GetFeatureConstructionMiniBarExtensionByCLSID()
{
//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 extUID=new UIDClass();
extUID.Value="esriEditor.ConstructionMiniBar";
IConstructionMiniBar featConstructionMiniBar=_Editor.FindExtension(extUID) as IConstructionMiniBar;
}
Public Sub GetFeatureConstructionMiniBarExtensionByCLSID()
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 extUID As UID=New UIDClass()
extUID.Value="esriEditor.ConstructionMiniBar"
Dim featureConstructionMiniBar As IConstructionMiniBar=TryCast(_Editor.FindExtension(extUID), IConstructionMiniBar)
End Sub