www.mxdraw.com
|
在图层编辑界面删除图层通知事件..
VOID Mx_DeleteLayer(CStringArray aryLayerName);
例如: 如 C#语言.
private void axMxDrawX1_CustomEvent_1(object sender, AxMxDrawXLib._DMxDrawXEvents_CustomEventEvent e) { if (e.sEventName == "Mx_DeleteLayer") { // 得到删除的层名. MxDrawResbuf param = (MxDrawResbuf)axMxDrawX1.CustomEventParam(); for (int i = 0; i < param.Count; i++) { String sLayerName = param.AtString(i); } } }