摘要:
object sev = null;//用来标记处理信息 //1-定义GeoProcessor对象 // Geoprocessor gp = new Geoprocessor(); IGeoProcessor2 gp = new GeoProcessorClass(); //2-设置参数 gp.OverwriteOutput = true; //3-设置工具箱所在的路径 gp.AddToolbox(@"E:\Users\zhen... 阅读全文
posted @ 2013-11-04 22:29
zzz_giser
阅读(3911)
评论(0)
推荐(0)
摘要:
IFeatureLayer pfl = axMapControl1.get_Layer(0) as IFeatureLayer; IFeatureClass pfc = pfl.FeatureClass; //打开工作空间,是工作空间处于编辑状态 IDataset pd = pfc as IDataset; IWorkspace pws = pd.Workspace; IWorkspaceEdit pwe = pws as IWorkspaceEdit; pwe... 阅读全文
posted @ 2013-11-04 10:23
zzz_giser
阅读(301)
评论(0)
推荐(0)
摘要:
ISimpleLinesymbol的使用方法很简单,具体设置一下几个方法参数就可以。MembersDescriptionColorLine symbol color.StyleThe style of the line symbol.WidthLine symbol width.其他简单的ISimpleMarketSymbol与FillSymbol TextSymbol的使用方法与此相似,附加ArcEngine中RGB颜色的设置IRgbColor pcolor = new RgbColorClass(); pcolor.Red = 255; ... 阅读全文
posted @ 2013-11-04 10:16
zzz_giser
阅读(1625)
评论(0)
推荐(0)
摘要:
IFeatureSelection接口由FeatureLayer类实现,主要用来存放用户在该图层中选择的要素,例如一般的属性查图,找到的元素一般放置在IFeatureSelection接口中。具体方法如下:MembersDescriptionAddAdds a feature to the selection set.BufferDistanceBuffer distance used for the selection.ClearClears the selection.CombinationMethodCombination method for the selection.SelectF 阅读全文
posted @ 2013-11-04 09:52
zzz_giser
阅读(2283)
评论(0)
推荐(0)