阅读:1855回复:2
MO+C#+buffer
<P><U><FONT color=#800080>我根据vb的buffer改的,但是没有Buffer呢????</FONT></U><U><FONT color=#800080> </FONT></U></P>
<P><U><FONT color=#800080>MapObjects2.Line line;<BR> MapObjects2.Polygon buffline;<BR> MapObjects2.GeoEvent eventline;<BR> MapObjects2.GeoEvent buffeventline;</FONT></U></P> <P><U><FONT color=#800080> MapObjects2.TrackingLayer t1=(MapObjects2.TrackingLayer)axMap1.TrackingLayer;<BR> t1.SymbolCount =4;<BR> line=axMap1.TrackLine();</FONT></U></P> <P><U><FONT color=#800080> eventline=axMap1.TrackingLayer .AddEvent (line,1);<BR> buffline=(MapObjects2.Polygon )line.Buffer(1,axMap1.Extent);<BR> buffeventline=axMap1.TrackingLayer .AddEvent (buffline,1);<BR></FONT></U></P> |
|
1楼#
发布于:2007-05-26 19:58
<img src="images/post/smile/dvbbs/em01.gif" />
|
|
2楼#
发布于:2007-05-30 10:47
问题解决啦
|
|