luyungis
路人甲
路人甲
  • 注册日期2007-04-29
  • 发帖数32
  • QQ
  • 铜币263枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1479回复:1

求助:C#+LEGEND

楼主#
更多 发布于:2007-05-06 17:00
<TABLE  height="85%" width="95%" align=center border=0>

<TR>
<TD  vAlign=top width=* height="100%"><IMG src="http://www.gisempire.com/bbs/Skins/Default/topicface/face1.gif" align=absMiddle border=0> <BR>
<P><STRONG>求助:图层控制(legend)<BR></STRONG></P>
<P>private void Form1_Load(object sender, System.EventArgs e)</P>
<P>{</P>
<P>object refMap = (object) this.axMap1;<BR>    bool refTrue = true;<BR>    short refShort = 0;<BR>    axlegend1.setMapSource(ref refMap);<BR>    axlegend1.ShowAllLegend();<BR>    axlegend1.LoadLegend(ref refTrue);<BR>    axlegend1.set_Active(ref refShort, true);<BR>    axMap1.Refresh();<BR>    axlegend1.Refresh();</P>
<P>}</P>
<P>private void axlegend1_AfterSetLayerVisible(object sender, AxMO21legend.__legend_AfterSetLayerVisibleEvent e)<BR>  {<BR>     axMap1.Refresh();<BR>     axlegend1.Refresh();</P>
<P>  }</P></TD></TR></TABLE>
<P>错误提示:运行时错误'450'</P>
<P>错误的参数或无效属性分配</P>
<P>在线等!!!!</P>
喜欢0 评分0
jay100125
路人甲
路人甲
  • 注册日期2007-06-13
  • 发帖数53
  • QQ
  • 铜币246枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2007-11-17 13:18
一样 楼主解决了的话告诉偶一下  谢
举报 回复(0) 喜欢(0)     评分
游客

返回顶部