设置线的风格,风格不起作用。源代码如下:
Point2Ds points=new Point2Ds();
Point2D one=new Point2D(1.0,2.0);
Point2D two=new Point2D(100,200);
points.add(one);
points.add(two);
GeoLine line=new GeoLine(points);
GeoStyle gs=new GeoStyle();
gs.LineColor=Color.Red;
gs.LineWidth=0.3;
line.Style=gs;
recordset.AddNew(line);
recordset.Update();
m_mapControlMain.Map.Refresh();
line