返回当前视区坐标的文档坐标值。
[id(140), helpstring("method GetViewDocCoord")] void GetViewDocCoord(DOUBLE* pLbx, DOUBLE* pLby, DOUBLE* pRtx, DOUBLE* pRty);
例如: JS
var pRet = mxOcx.Cal("Mx_GetViewCoord"); if (pRet.AtString(0) == "Ok") { alert( "LBx:" + pRet.AtDouble(1) + "LBy:" + pRet.AtDouble(2) + "Rtx:" + pRet.AtDouble(3) + "Rty:" + pRet.AtDouble(4)); } else { alert("调用失败"); }