This document is archived and information here might be outdated.  Recommended version.


IAnnotationConstructionWindow Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IA > IAnnotationConstructionWindow Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Editor)  

IAnnotationConstructionWindow Interface

Provides access to the annotation construction window.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Read/write property Visible Indicates whether the annotation construction window is visible.

CoClasses that implement IAnnotationConstructionWindow

CoClasses and Classes Description
AnnotationConstructionWindow The Annotation Construction Window.

Remarks

Use IEditor::FindExtension to access the AnnotationConstructionWindow. See the code examples below to get a reference to the AnnotationConstructionWindow.

[C#]
public void GetAnnotationConstructionWindowByCLSID()
{
  //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 annoWinUid=new UIDClass(); annoWinUid.Value="esriEditor.AnnotationConstructionWindow"; IAnnotationConstructionWindow annoDialog=editor.FindExtension(annoWinUid) as IAnnotationConstructionWindow;
}
[Visual Basic .NET]

Public Sub GetAnnotationConstructionWindowByCLSID()
  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 annoUID As UID=New UIDClass() 
  annoUID.Value="esriEditor.AnnotationConstructionWindow"

  Dim annoConstructionWindow As IAnnotationConstructionWindow=TryCast(_Editor.FindExtension  (annoUID), IAnnotationConstructionWindow)
End Sub