Browse by Tags
All Tags » DoCommand (RSS)
-
Override the DoCommand method, and add commands eg "AlignShapeLeft" Dont forget to call the base implementation. Loop through each shape in the Model.SelectedElements collection and store the left most x coordinate Then call Model.Suspend and set each shape.X to the value, then cal Model.Resume...
-
Although this would be a nice feature I dont think it is possible without changing the source code. You could use DoCommand("copy') and DoCommand("paste") to implement the copy/paste, but you will need to change the mouse handlers to force the ctrl+drag to begin an action. Sorry.
Page 1 of 1 (2 items)
|
|
|