2011年8月5日

摘要: Arcengine开发过程中,用IFeatureSelection选中Feature高亮显示,默认的是亮蓝的颜色,可以改吗?经过一番折腾,以下颜色样式设置方法可行哦,记录下来ISimpleFillSymbol pFillSym=new SimpleFillSymbolClass();ESRI.ArcGis.Display.IRgbColor pRgbColor=new ESRI.ArcGis.Display.IRgbColor();pRgbColor.Red=255;pRgbColor.Green=0;pRgbColor.Blue=0;pFillSym.Color=pColor; //各种颜色 阅读全文
posted @ 2011-08-05 18:21 小怪物史迪奇 阅读(2449) 评论(1) 推荐(0) 编辑

2011年8月2日

摘要: 在利用arcengine开发wpf项目时遇到编译错误:ESRI.Arcgis.esrisystem.AoInitializeClass has no constructors defined...Interop type 'ESRI.Arcgis.esrisystem.AoInitializeClass' cannot be embedded. Use the applicable interface instead...解决:在Reference中,ESRI.Arcgis.esrisystem右键属性,Embed Interop Type设置为False 阅读全文
posted @ 2011-08-02 20:02 小怪物史迪奇 阅读(2769) 评论(0) 推荐(1) 编辑