当前位置:网站首页>ArcEngine (2) loading the map document
ArcEngine (2) loading the map document
2022-08-03 08:02:00 【Prospector in the rice field】
Load map document with MapControl control
private void Load map documentToolStripMenuItem_Click(objectspan> sender, EventArgs e){//Open file dialogOpenFileDialog openFileDialog = new OpenFileDialog();openFileDialog.Title = "Load map document";//set titleopenFileDialog.Filter = "(*.mxd)|*.mxd";//Set filter modeif (openFileDialog.ShowDialog() ==DialogResult.OK){//Set pathstring fullPath = openFileDialog.FileName;//full path//Add layerMapControl.LoadMxFile(fullPath);//Refresh basemapMapControl.Refresh();}MessageBox.Show("File loaded successfully", "Tips", MessageBoxButtons.OK, MessageBoxIcon.Information);} 边栏推荐
猜你喜欢
随机推荐
postman将接口返回结果生成csv文件到本地
【云原生--Kubernetes】Pod容器与镜像拉取策略
tolower函数
Golang协程goroutine的调度与状态变迁分析
boot-SSE
mysql服务器上的mysql这个实例中表的介绍
五、《图解HTTP》报文首部和HTTP缓存
boot - SSE
智能客服,还有多少AI泡沫?
information_schema
requests库
标准输入流
mysql的innodb存储引擎和myisam存储引擎的区别
DSP-ADAU1452输出通道配置
【C语言】函数栈帧的创建和销毁详解
Roson的Qt之旅#104 QML Image控件
sqlserver2019安装失败
wordpress: 裁剪您的图片时发生错误
2022年 SQL 优化大全总结详解
volta管理node版本









