摘要:
1、 查找数据Search Cursors 2、 插入数据Insert Cursors—目前数据插入最快的方法 IFeatureBuffer featureBuffer = featureClass.CreateFeatureBuffer(); IFeatureCursor featureCurso 阅读全文
posted @ 2018-07-05 09:46
回忆的片段
阅读(454)
评论(0)
推荐(0)
摘要:
主要运用IAnnotateLayerPropertiesCollection ,IAnnotateLayerProperties, ILineLabelPosition,ILineLabelPlacementPriorities ,IBasicOverposterLayerProperties,IL 阅读全文
posted @ 2018-07-05 09:43
回忆的片段
阅读(199)
评论(0)
推荐(0)
摘要:
首先添加一个新的windows窗体frmAttribute,在上面添加个datagridview控件,用来显示图层属性! 定义frmAttribute中的全局变量: private ILayer pLayer;;//打开属性表的图层 private IFeatureLayer pFeatureLayer; private IFeatureClass pFeatureClass; pr... 阅读全文
posted @ 2018-07-05 09:33
回忆的片段
阅读(453)
评论(0)
推荐(0)
摘要:
FeatureClass的Search方法大家经常用到,很多人对Search方法的其中一个参数bool Recycling不是很理解。先做以下解释: 1.pFeatureCursor存储的是所有符合条件的Feature对象的引用,2.Recycling的意思是回收,参数Recycling为True的 阅读全文
posted @ 2018-07-05 09:26
回忆的片段
阅读(210)
评论(0)
推荐(0)
摘要:
使用IWorkspaceFactory,IWorkspaceName,IName,IWorkspace等接口以及InMemoryWorkspaceFactoryClass对象创建在程序运行时的内存中的矢量要素层 直接上代码: ////// 在程序运行时的内存中创建矢量要素层,并加到地图控件最顶端 /// /// 地图控件 ///IFeatureLayer 新加的要素层 private... 阅读全文
posted @ 2018-07-05 09:16
回忆的片段
阅读(373)
评论(0)
推荐(0)