H
HarryH
I have Visio OCX in my application and I am attempting to perform a Zoom
operation which uses visCmdDrawZoom, but I get an error.
The call in C# is basically:
IOLeCommandTarget cmdTgt = drawingControl.GetOcx();
cmdTgt.Exec(ref VisioCommandHandlerCollection.CLSID_Application,
visCmdDrawZoom, 0, null, null);
This exec call fails with an error message "Number is not valid.".
Any ideas why I am getting this result as all other Visio (Zoom) commands
execute fine?
Thanks.
operation which uses visCmdDrawZoom, but I get an error.
The call in C# is basically:
IOLeCommandTarget cmdTgt = drawingControl.GetOcx();
cmdTgt.Exec(ref VisioCommandHandlerCollection.CLSID_Application,
visCmdDrawZoom, 0, null, null);
This exec call fails with an error message "Number is not valid.".
Any ideas why I am getting this result as all other Visio (Zoom) commands
execute fine?
Thanks.