www.mxdraw.com
|
对象图层被修改的通知事件..
VOID Mx_ObjectLayerModify(McDbObjectIdArray id);
例如: 如 C#语言.
private void axMxDrawX1_CustomEvent_1(object sender, AxMxDrawXLib._DMxDrawXEvents_CustomEventEvent e) { if (e.sEventName == "Mx_ObjectLayerModify") { // 得到图层修改的对象id. MxDrawResbuf param = (MxDrawResbuf)axMxDrawX1.CustomEventParam(); for (int i = 0; i < param.Count; i++) { Int64 id = param.AtObjectId(i); } } }