
MapWinGIS.Image image = new MapWinGIS.Image()
int LyrHandl =-1
string fileName = @"D:\thunder.png"
if(!File.Exist(fileName ))
retun
//将image添加到map中去
if(image.Open(fileName, MapWinGIS.ImageType.PNG_FILE, false, null))
LyrHandl =axMap1.AddLayer(image,true)
// 刷新
axMap1.redraw()
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)