b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

mapinfo官网_mapxtreme pitney_mapxtreme(3)

电脑杂谈  发布时间:2017-01-21 21:03:06  来源:网络整理

Table tblTemp = Cat.GetTable("Animation");if (tblTemp != null) //Table exists close it{

Cat.CloseTable("Animation");

}

tblInfoTemp.Columns.Add(ColumnFactory.CreateFeatureGeometryColumn(mapControl1.Map.GetDisplayCoordSys()));

tblInfoTemp.Columns.Add(ColumnFactory.CreateStyleColumn());

tblInfoTemp.Columns.Add(ColumnFactory.CreateStringColumn("Name", 40));

tblInfoTemp.Columns.Add(ColumnFactory.CreateStringColumn("Dept", 15));

tblInfoTemp.Columns.Add(ColumnFactory.CreateIntColumn("Level"));

tblTemp = Cat.CreateTable(tblInfoTemp);

FeatureLayer lyr = new FeatureLayer(tblTemp);

//创建点

FeatureGeometry pt = new

MapInfo.Geometry.Point(lyr.CoordSys, new DPoint(100, 150)) as FeatureGeometry;

CompositeStyle cs = new CompositeStyle(new SimpleVectorPointStyle(37, System.Drawing.Color.Red, 40));Feature ftr = new

Feature(tblTemp.TableInfo.Columns);

ftr.Geometry = pt; //改变点的属性及样式信息ftr.Style = cs;

ftr["Name"] = "Kelly"; //注意可以运用索引的方式来访问属性

ftr["Dept"] = "Sales";

ftr["Level"] = 3;

tblTemp.InsertFeature(ftr);


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-27890-3.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...