ArcObjects Library Reference (Editor) |
|
ISketchPropertiesWindow Interface
Provides access to the Sketch Properties Window.
Product Availability
Available with ArcGIS Desktop.
Members
|
Name |
Description |
|
Visible |
Indicates if Sketch Properties Window is visible. |
CoClasses that implement ISketchPropertiesWindow
[C#] ///
/// This routine opens the sketch properties window if it is not visible. ///
public void OpenSketchProperties()
{
//get editor extension
UID editorUID=new UIDClass();
editorUID.Value="esriEditor.Editor";
IEditor editor=m_application.FindExtensionByCLSID(editorUID) as IEditor;
//get sketch propertie extension
UID sketchPropertieWindowUID=new UIDClass();
sketchPropertieWindowUID.Value="esriEditor.SketchPropertiesWindow";
ISketchPropertiesWindow sketchPropertiesWindow=editor.FindExtension(sketchPropertieWindowUID) as ISketchPropertiesWindow;
//set the properties window visible
if(!sketchPropertiesWindow.Visible)
{
sketchPropertiesWindow.Visible=true;
}
}