Article | 60000433 |
Type | Wish |
Product | Engine |
Version | 6011 |
Date Added | 2/28/2008 |
Fixed | Yes [3/4/2008] |
Submitted by | stavros meimaroglou |
Keywords |
New ExecuteCommand method for vdraw.ocx control to run a user custom command.
In version 6012 a new method ExecuteCommandEx was added in vdraw Wrapper control(vdraw.ocx)
example:
ExecuteCommandEx("Line,l,VectorDraw.Professional.dll,VectorDraw.Professional.ActionUtilities.vdCommandAction,LineEx")
This command will run the default CmdLine command of VectorDraw.
The syntax of string command is following (Same as in Commands.txt) :
"Main command name,optional command line call,dll name where the command is implemented,namespace of the class where the method belong,static function name of the method"
Note:
The dll must be in .NET manage class library.
The static function must have the following form: public static void Methodname(VectorDraw.Professional.vdObjects.vdDocument document)