Catalog cata  = MapInfo.Engine.Session.Current.Catalog;
   Table t = cata.GetTable("World");
   Feature f = cata.SearchForFeature(t, MapInfo.Data.SearchInfoFactory.SearchWhere("Country='Japan'"));
   DPoint dp = new DPoint(f.Geometry.GeometricCentroid.x, f.Geometry.GeometricCentroid.y);
   f.Geometry.GeometryEditor.Rotate(dp, 90);
   f.Geometry.EditingComplete();
   t.UpdateFeature(f);
   mapControl1.Map.SetView(f);

相关文章:

  • 2021-09-09
  • 2021-10-03
  • 2022-12-23
  • 2021-11-15
  • 2021-09-11
  • 2021-10-10
  • 2021-04-27
猜你喜欢
  • 2021-09-23
  • 2022-12-23
  • 2022-01-01
  • 2021-09-30
  • 2022-12-23
  • 2021-11-23
  • 2021-05-21
相关资源
相似解决方案