点击或拖拽改变大小

ICTRElement 接口

CTR元素 接口

命名空间:  GISShare.SMap.WPF.Element
程序集:  GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法
public interface ICTRElement : ICTRElementCore, 
	IGroupElement, IElementCollection, IEnumerable, IFeatureElement, ITextElement, 
	IElement, IGeoDrawItem, IGeoDrawItemInfo, IGeoDrawItemQueryable, IDisposable, 
	IFeature

The ICTRElement type exposes the following members.

属性
  名称说明
公共属性Attributes
属性表
(继承自 IFeature。)
公共属性AutoRedraw
图层每次刷新元素都会进行一次重绘(如果您的图形元素频繁发生变化建议将其设置为TRUE,默认值为FALSE)
(继承自 ICTRElementCore。)
公共属性CanDraw
是否可以绘制
(继承自 IGeoDrawItemInfo。)
公共属性CanQuery
是否支持查询(如果支持,将会记录绘制信息)
(继承自 IGeoDrawItemQueryable。)
公共属性Checked
是否被选中
(继承自 ICTRElementCore。)
公共属性Count
获取其携带的IElement总数
(继承自 IElementCollection。)
公共属性CTRElementCore
CTR元素内核
公共属性CTRSymbol
模板符号
(继承自 ICTRElementCore。)
公共属性CTRTemplate
是否是模板符号渲染对象
(继承自 ICTRElementCore。)
公共属性DrawGeometry
用于绘制操作的记录对象(防止投影转换导致的效率降低,它并不每次都是一个独立的副本)
(继承自 IGeoDrawItemInfo。)
公共属性eGroupElementShowStyle
组合元素展现方式
(继承自 IGroupElement。)
公共属性FieldName
字段名
(继承自 IFeatureElement。)
公共属性FieldNameArray
字段名数组用于数据显示
(继承自 IFeatureElement。)
公共属性GeoDrawCache
几何绘制缓存(当空间参考不一致时,将克隆副本长期使用,如果Geometry内部改变则需要调用ResetGeometry来重置)
(继承自 IGeoDrawItem。)
公共属性Geometry
图形
(继承自 IGeoDrawItem。)
公共属性Item
获取IElement 通过 索引
(继承自 IElementCollection。)
公共属性Left
Left
公共属性MaximumScale
最大可见比例尺
(继承自 IElement。)
公共属性MinimumScale
最小可见比例尺
(继承自 IElement。)
公共属性Name
名称
(继承自 IElement。)
公共属性OID
OID唯一标识
(继承自 IFeature。)
公共属性Symbol
符号
(继承自 IElement。)
公共属性Tag
携带值
(继承自 IElement。)
公共属性Text
文本
(继承自 ITextElement。)
公共属性Top
Top
公共属性Visible
可见性
(继承自 IElement。)
公共属性ZIndex
ZIndex
Top
方法
  名称说明
公共方法Add
添加一个 IElement
(继承自 IElementCollection。)
公共方法BindFeature
绑定一个IFeature
(继承自 IFeatureElement。)
公共方法Clear
清空 IElement元素
(继承自 IElementCollection。)
公共方法GetQueryDrawGraphInfo
获取函数“QueryByClientXY”返回结果的有效“IDrawGraphInfo”
(继承自 IGeoDrawItemQueryable。)
公共方法GetVisibleInfo
获取指定比例尺范围下可见状态
(继承自 IElement。)
公共方法IndexOf
获取IElement索引
(继承自 IElementCollection。)
公共方法Insert
加入一个 IElement元素
(继承自 IElementCollection。)
公共方法Invalidate
实现一次实质的刷新做准备(确保下次的刷新必然有效)
(继承自 ICTRElementCore。)
公共方法OnDraw
绘制
(继承自 IElement。)
公共方法QueryByClientXY
查询元素依据屏幕坐标
(继承自 IGeoDrawItemQueryable。)
公共方法RemoveAt
移除IElement 通过 索引
(继承自 IElementCollection。)
公共方法ResetDrawGeometry
用于重置DrawGeometry对象,使其空间参考指定(主要供内部绘制使用,不要随意操作)
(继承自 IGeoDrawItemInfo。)
公共方法ResetGeometry
当几何图形内部属性变化后,调用此函数用于重置内核对象。
(继承自 IGeoDrawItem。)
公共方法ResetView
重置视图(会触发刷新)
(继承自 ICTRElementCore。)
Top
参见