摘要: 加点的一般方法: Catalog _catalog=MapInfo.Engine.Session.Current.Catalog; MapInfo.Geometry.Point pt = new MapInfo.Geometry.Point(map.GetDisplayCoordSys(),dp); MapInfo.Styles.SimpleVectorPointStyle vs ... 阅读全文
posted @ 2005-08-01 19:08 jetz 阅读(1194) 评论(2) 推荐(0) 编辑
摘要: 修改label文字:source.DefaultLabelProperties.Style.Font.Size=9;修改文字的位置:source.DefaultLabelProperties.Layout.Alignment=MapInfo.Text.Alignment.BottomCenter;惨痛教训: 花了一个半小时的时间去调位置,老是纠缠在attributes上,那是一个枚举... 阅读全文
posted @ 2005-08-01 17:55 jetz 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 原因:表格结构过于复杂解决:简化表格结构 阅读全文
posted @ 2005-08-01 13:35 jetz 阅读(1003) 评论(1) 推荐(0) 编辑
摘要: 用foreach的方法不行 foreach(XmlNode xn2 in xn)xn.RemoveChild(xn2);在移除第一个节点后就不能继续了用removeallchild更是不行,会把属性也给移除掉的正确方法是: while(xn.ChildNodes.Count>0)xn.RemoveChild(xn.FirstChild); 阅读全文
posted @ 2005-08-01 09:37 jetz 阅读(934) 评论(0) 推荐(0) 编辑