In a Shapesheet, I know I can Rotate Left with DOCMD(1056), but what about Rotate Right? Is there a way to do this without the brute force method of 3 Rotate Lefts?
Hi iankoe,
If we browse the Visio object model, we can find possible DOCMD ids in the VisUICmds enumeration. I found the following:
VisUICmds.visCmdObjectRotate90 = 1056
VisUICmds.visCmdRotate90Clockwise = 1494
That should get you rotating in both directions!
You know I tried that. 1056 definitely does the rotate left, but 1494 seems to do nothing. Is it me? Have you seen it work?
Thanks for the quick reply
Interesting. The DOCMDs, as shown, are defined correctly, and, the 1494 does, indeed, do nothing. :o
::) Mystery solved. The visCmdRotate90Clockwise is not a shapesheet supported function. :P
Well. Ugliness aside,
DOCMD(1056)+DOCMD(1056)+DOCMD(1056)
does work. :P
Weeeeeeird. Another bit of black magic...off to the bug board I go...