www.mxdraw.com
内容索引主面
前一个向上下一个
MxDrawXCustomFunction::mcedCommand 方法

转入输入参数,按函数方式执行一个控件命令。

IDL
bool mcedCommand(struct resbuf* pCommandParam);

例如: C#

        MxDrawResbuf param = new MxDrawResbuf();
         param.AddString("Mx_Line");
         MxDrawPoint pt1 = new MxDrawPoint();
         pt1.x = 10;
         pt1.y = 10;
         MxDrawPoint pt2 = new MxDrawPoint();
         pt2.x = 500;
         pt2.y = 300;

         param.AddPoint(pt1);
         param.AddPoint(pt2);
         param.AddLong(-1);

         axMxDrawX1.CallEx("mcedCommand", param);
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!