摘要:
实现在IMapcontrol上采点,双击结束采点进行距离测量,并标注在IMapcontrol上,实现结果如下:1. 初始化主要变量:1 private bool m_bStart = false;2 private INewLineFeedback m_pNewLineFeedback = null;3 private IPoint m_prevPoint = null;4 private double m_CurDistance = 0.0;5 private double m_TotalDistance = 0... 阅读全文
摘要:
1 private void 河流面转点ToolStripMenuItem_Click(object sender, EventArgs e) 2 { 3 ESRI.ArcGIS.Geodatabase.IWorkspaceFactory wsf = new ESRI.ArcGIS.DataSourcesFile.ShapefileWorkspaceFactory(); 4 IWorkspace ws = wsf.OpenFromFile(@"F:\1-水利项目\安徽水利\0826处理", 0); 5 6 ... 阅读全文
摘要:
1 private void 输出断面点ToolStripMenuItem_Click(object sender, EventArgs e) 2 { 3 ESRI.ArcGIS.Geodatabase.IWorkspaceFactory wsf = new ESRI.ArcGIS.DataSourcesFile.ShapefileWorkspaceFactory(); 4 IWorkspace ws = wsf.OpenFromFile(@"F:\1-水利项目\安徽水利\0826处理", 0); 5 ... 阅读全文