|
调用自定义函数Mx_SetPoloarTracee实现,如下,VC2005代码:
- IDispatchPtr spRet1(m_ocx.CallLongParam1(_T("Mx_SetPoloarTracee"),1),false);
复制代码 另外它是系统变量:AUTOSNAP的第4个二制位控制,打开极轴(C#代码):
- int iRet = 0;
- axMxDrawX1.GetSysVarLong("AUTOSNAP",ref iRet);
- iRet |= 8;
- axMxDrawX1.SetSysVarLong("AUTOSNAP",iRet);
复制代码
|
|