解决方案 »
- 在win7下为什么无法正常使用群发短信empp功能
- 自己写的程序在别的电脑上没有反应
- MVC控制器代码中方法AcceptVerbs(HttpVerbs.Post)是说明意思?
- DataTable条件查询
- winform运行后,按回车,要在label1里显示"a",怎么写代码
- 在WebForm中怎么没有WinForm中的DateTimePicker控件呢??
- 如何把datagrid中从数据库中显示的数据,导出到EXCEL中来报表呢?
- 我是菜鸟,请教一个简单的问题,我想实现.NET的启动画面效果?
- 怎么调用a.cs里的内容?(急,谢谢大家)
- 使用SqlTransaction执行事务的问题
- 晕了,傻了的SQL语句怎么写
- winform Base-64 字符数组或字符串的长度无效。
IPoint pt;
pt = axMapControl1.ToMapPoint(e.x, e.y);
IMarkerElement pMarkerElement;
pMarkerElement = new MarkerElementClass();
IElement pElement;
pElement = pMarkerElement as IElement;
pElement.Geometry = pt;
pGraphicsContainer = pMap as IGraphicsContainer;
pGraphicsContainer.AddElement((IElement)pMarkerElement, 0);
pActiveView.Refresh();
画线IGeometry polyline;
polyline = axMapControl1.TrackLine();
ILineElement pLineElement;
pLineElement = new LineElementClass();
IElement pElement;
pElement = pLineElement as IElement;
pElement.Geometry = polyline;
pGraphicsContainer = pMap as IGraphicsContainer;
pGraphicsContainer.AddElement((IElement)pLineElement, 0);
pActiveView.Refresh();画面IGeometry Polygon;
Polygon = axMapControl1.TrackPolygon();
IPolygonElement PolygonElement;
PolygonElement = new PolygonElementClass();
IElement pElement;
pElement = PolygonElement as IElement;
pElement.Geometry = Polygon;
pGraphicsContainer = pMap as IGraphicsContainer;
pGraphicsContainer.AddElement((IElement)PolygonElement, 0);
pActiveView.Refresh();
http://blog.csdn.net/ldl22847/article/details/7275410
http://blog.csdn.net/ldl22847/article/details/7275410
绘制多个点并连接其中两个或多个点该如何改写呢? 我绘制的点虽然写了两个点代码,但是只生成一个点。该如何修改呢?