Hi guys,
Could you, please, tell me how to call a rotation tool from a picture (that nice green circule)?I am writing a custom tool to create fishnet and allow a user to rotate a sketch.
Solved! Go to Solution.
The tool is called:
esri_editing_EditVerticesRotate
This is how to programmatically execute the rotate tool; however, the subject polygon has to be selected.
var commandId = @"esri_editing_EditVerticesRotate";
var iCommand = FrameworkApplication.GetPlugInWrapper(commandId) as ICommand;
if (iCommand != null)
{
if (iCommand.CanExecute(null)) iCommand.Execute(null);
}
The tool is called:
esri_editing_EditVerticesRotate
This is how to programmatically execute the rotate tool; however, the subject polygon has to be selected.
var commandId = @"esri_editing_EditVerticesRotate";
var iCommand = FrameworkApplication.GetPlugInWrapper(commandId) as ICommand;
if (iCommand != null)
{
if (iCommand.CanExecute(null)) iCommand.Execute(null);
}
Thank you so much!