Dotspatial 图层转图片
var test = mapMain.SnapShot();
test.Save(Application.StartupPath + "\\Data\\test0.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
MessageBox.Show("存储成功!\n" + Application.StartupPath + "\\Data\\", "系统提示", MessageBoxButtons.OK);