/// <summary> /// 截图,返回图片存储地址 /// </summary> /// <param name="playerindex">播放器id,1-4,默认为当前选中的</param> /// <returns></returns> public string ScreenShot(int playerindex = 0) { try { GetPlayer(playerindex); return(ActivePlayer.Capture2Image()); }catch (Exception ex) { ShowError(ex.Message); return(""); } }