ISymbol

public void Draw (IGeometry Geometry);
public void QueryBoundary (
int hDC,
ITransformation displayTransform,
IGeometry Geometry,
IPolygon boundary
);
Valid input Geometries are as follows:
For MarkerSymbols, the Geometry must be an IPoint.
For Fill Symbols, the Geometry can be either an IPolygon or an IEnvelope.
For Line Symbols, the Geometry must be an IPolyline.
esriScreenCache Constants
Esri screen caching flags.
| Constant | Value | Description |
|---|---|---|
| esriNoScreenCache | -1 | Apply action directly to window. |
| esriAllScreenCaches | -2 | Apply action to all caches. |
| esriScreenRecording | -3 | Apply action to recording. |
private void DisplayArc(IMxApplication mxApplication, IScreenDisplay sreenDisplay,
IEllipticArc ellipticArc, ISymbol lineSymbol)
{
short oldActiveCache = sreenDisplay.ActiveCache;
//Add the new arc to a segment collection.
ISegment segment = ellipticArc as ISegment;
ISegmentCollection polyline = new Polyline()as ISegmentCollection;
object Missing = Type.Missing;
polyline.AddSegment(segment, ref Missing, ref Missing);
sreenDisplay.ActiveCache = (short)esriScreenCache.esriNoScreenCache;
sreenDisplay.StartDrawing(mxApplication.Display.hDC, (short)
esriScreenCache.esriNoScreenCache);
sreenDisplay.SetSymbol(lineSymbol);
sreenDisplay.DrawPolyline(polyline as IGeometry);
sreenDisplay.FinishDrawing();
sreenDisplay.ActiveCache = oldActiveCache;
}
ISymbol的更多相关文章
- AE开发中栅格图层实现分级渲染
GP工具IDW执行后,生成的栅格图层是黑白二色,需要手动进行分级渲染,似乎不是所有栅格图层都可以进行分级渲染,注意异常处理.注意ARCMAP中是有颜色的,无需自己处理. IRasterClassify ...
- ArcGIS Engine渲染
符号化之Renderer( 渲染)体系 ArcGIS Engine9.3对GIS数据的符号化分为矢量数据渲染和栅格数据渲染两大类.接下来分别介绍FeatureRender和RasterRender. ...
- 同时闪烁多个要素代码(ArcEngine)
/// <summary> /// 根据查询条件构造/// </summary> /// <param name="where">查询条件< ...
- AE开发示例之RunGPAsync
using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using S ...
- Arc Engine下数据的加载处理
1.加载Shapefile数据 IWorkspaceFactory pWorkspaceFactory; IFeatureWorkspace pFeatureWorkspace; IFeatureLa ...
- Arcengine 中,创建色带
1,利用combobox创建色带,首先draw private void comboBox1_DrawItem(object sender, DrawItemEventArgs e) { ...
- ae专题图
点密度图.分层设色图/等级图.单值图.柱状图.饼状图的实现代码 C# private void 点密度图ToolStripMenuItem_Click(object sender, EventArgs ...
- ArcEngine选中面要素样式修改
//只用前五行,可以直接将选中的面要素的颜色全部修改成红色,也就是填充颜色 IRgbColor pRgbColor= new RgbColor();; pRgbColor.Red = ; pRgbCo ...
- AE唯一值符号化的流程以及过程
唯一值符号化的流程以及过程(转) 一.获取ServerStyle库中的符号 Style符号库在ArcGIS Engine开发中对应的是ServerStyle符号库,可以通过专门的转换程 ...
随机推荐
- 14. Launch an instance
Controller Node: 1. source demo-openrc.sh 2. ssh-keygen 3. nova keypair-add --pub-key ~/.ssh/id_rsa. ...
- node.js 资料
supervison可以调试nodejs,并能自动布署 键入命令: npm -g install supervisor
- wordpress 自定义面板显示不了挂件区问题
刚才在写一个wordpress主题,遇到一个问题.注册好的挂件区在控制面板(dashboard)上显示,在自定义面板上却不显示. 查询了下,发现几个老外朋友也遇到了这个问题: http://wordp ...
- coursera-miniproject stopwatch任务总结
---恢复内容开始--- 首先是miniproject的说明: combin text drawing in canvas with time to build digital stopwatch. ...
- Rochester Memory Hardware Error Research Project
http://www.cs.rochester.edu/research/os/memerror/
- Flink - Juggling with Bits and Bytes
http://www.36dsj.com/archives/33650 http://flink.apache.org/news/2015/05/11/Juggling-with-Bits-and-B ...
- PIC12F629帮我用C语言写个程序,控制三个LED亮灭
http://power.baidu.com/question/240873584599025684.html?entry=browse_difficult PIC12F629帮我用C语言写个程序,控 ...
- javascript小实例,PC网页里的拖拽
几年前,我参与设计开发一个房产网的项目,我负责前端工作,由于项目经理要求比较高,参考了很多房产类网站比较优秀的功能,想把别人比较优秀的设计和想法集合到一起,那时的设计稿和功能实现,简直就是改了又改,今 ...
- 例题.点击按钮显示内容+弹窗效果+ajax
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- su terminal get around---docker root
su : must be run from a terminal After some googling, I found the solution from Tero's glob. If you ...