/// <summary> /// 设置Tip内容 /// </summary> /// <param name="attributeName">属性名称</param> /// <param name="value">值</param> /// <param name="index">属性索引</param> public void SetTipContent(string attributeName, string value, int index = -1) { try { if (string.IsNullOrEmpty(attributeName)) { throw new Exception("属性不能为空"); } mapControl.SetLayerMoveObjPropVisInTip(_belongLayer.LayerName, attributeName, index, 1); mapControl.setMoveObjectProperty(moveObj, attributeName, value); } catch (Exception e) { throw new Exception(e.Message); } }