Provides access to the Sketch Properties Window.
Product Availability
Available with ArcGIS Desktop.
Members
Description | ||
---|---|---|
Visible | Indicates if Sketch Properties Window is visible. |
CoClasses that implement ISketchPropertiesWindow
CoClasses and Classes | Description |
---|---|
SketchPropertiesWindow | Dialog for modifying sketch geometry. |
[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;
}
}