www.mxdraw.com
|
转入输入参数,按函数方式执行一个控件命令。
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);