HighLight selected features
高亮顯示被選中feature,并可控制非選擇feature顯示或隱藏...
使用IQueryFilter過濾選擇集,利用IFeatureSelection.SelectionSymbol設置被選擇要素的外觀。
IFeatureLayerDefinition.DefinitionExpression用于控制圖層上的要素顯示狀態。
Dim pFeaturelayer As IFeatureLayer
Set pFeaturelayer = pLayer
Dim pFeatureSelection As IFeatureSelection
Set pFeatureSelection = pFeaturelayer
Dim pDefFeatLayer As IFeatureLayerDefinition
Set pDefFeatLayer = pFeaturelayer
If chkfilterValue = True Then
pDefFeatLayer.DefinitionExpression = "SLOPENO IN (" & strSlopes & ")"
Else
pDefFeatLayer.DefinitionExpression = ""
End If
Dim pFilter As IQueryFilter
Set pFilter = New QueryFilter
pFilter.WhereClause = "SLOPENO IN (" & strSlopes & ")"
Dim pFillSym As ISimpleFillSymbol
Set pFillSym = New SimpleFillSymbol
pFillSym.Style = esriSFSDiagonalCross
pFeatureSelection.SetSelectionSymbol = True
Set pFeatureSelection.SelectionSymbol = pFillSym
pFeatureSelection.SelectFeatures pFilter, esriSelectionResultNew, False
End Sub
转载于:https://www.cnblogs.com/iswszheng/archive/2009/03/18/1415529.html
HighLight selected features相关推荐
- 嵌套交叉验证的一致特征(Consensus features nested cross-validation)
5.5 嵌套交叉验证的一致特征(Consensus features nested cross-validation) 参考: Parvandeh S, Yeh H W, Paulus M P, et ...
- 图像检索中的DELF模型(DEep Local Features)实践
近日,抽空跑通了delf模型,它已经成为tensorflow models中research的一个子工程(见网址:https://github.com/tensorflow/models/tree/m ...
- 原子和非原子oc_原子宝藏
原子和非原子oc by Dennis Bruijn / @0x1ad2 通过丹尼斯·布鲁恩/ @ 0x1ad2 原子宝藏 (Atom treasures) 我不能没有的Atom插件列表 (a list ...
- 【智能优化算法】基于寄生捕食优化算法求解单目标优化问题(Parasitism Predation algorithm,PPA)含Matlab源码
1 简介 Maximizing the classification accuracy and minimizing the number of selected features are the t ...
- ICML 2019 Accepted Papers (Title, Author, Abstract, Code) (001-150)
本博客致力于整理出ICML 2019接收的所有论文,包括题目.作者.摘要等重要信息,能够方便广大读者迅速找到自己领域相关的论文. 相关论文代码.附录可参考ICML 2019 #####1-10#### ...
- 小白学习三维检测和三维语义理解(3D-understanding)持续更新中。。
Uderstanding Understanding 三维 understanding 一.Learning only from point cloud (1)PointNet: Deep Learn ...
- 史上最全的 Stata 外部命令一览
Stata现场班-精品专题:课程介绍 Stata连享会 精品专题 || 精彩推文 Source: Archive of user-written Stata packages 导言 这里汇集了截至 ...
- 老龄人口公交出行_在设计技术时要考虑到老年人口
老龄人口公交出行 Abstract - The senior user base, which we will define as sixty-five years or older, is ofte ...
- 卷积神经网络简介及其在TensorFlow中的实现
介绍: (Introduction:) Convolutional Neural Networks are deep neural networks that were designed typica ...
最新文章
- 计算机毕业生“一看就想留下”的简历
- Apache+php+mysql在windows下的安装与配置(图文)
- [Android工具]更新安卓百度云盘百度网盘资源搜索工具,安卓网盘搜索软件
- 每日程序C语言46-函数之间的调用
- python实现数字形式转换
- spring-wind 搭建过程问题记录
- 数据库中的模式分解与无损连接性
- 微信小程序|area组件使用的地址数据文件
- spring2.5与jdk1.7冲突
- np问题 量子计算机,P vs NP与经典与量子计算机可解决的问题相同吗?
- 3 Idiots ——谢 阿米尔·汗
- webpack配置及热更新原理
- 在C语言中,int型数据的取值范围?
- 电影《驯龙高手1》中的管理知识
- html5之DeviceOrientation 手机重力与方向感应
- 沉没之城中文破解版 v1.0免安装绿色版
- 如何创建对搜索引擎更加友好的内容
- 人脸检测算法之 S3FD
- 关于vue的冒号,@的含义
- CPU Cache 知识详解之Cache_Miss与替换策略(中)
热门文章
- 走近“颠覆性技术”:量子通信能否取代传统通信?
- 厉害!84 行 JavaScript 代码实现塔式堆叠游戏
- 选什么专业,最容易拿下互联网大厂 Offer?三个支付宝新人来支招
- ​如何设计一个安全可靠的 API 接口?
- PacificA 一致性协议解读
- 60 Permutation Sequence
- webpack v3 结合 react-router v4 做 dynamic import — 按需加载(懒加载)
- 麦司机博客项目技术选型-Java后端
- JAVA(IO流)知识整理
- [content-description] find_element_by_accessibility_id 在 android 中的详解