默认头像
路人甲
路人甲
  • 注册日期2004-09-02
  • 发帖数8
  • QQ
  • 铜币137枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1811回复:4

VB.NET的legend问题?

楼主#
更多 发布于:2004-10-15 10:42

VB.NET用legend使用时出现运行错误‘450’,错误的参数或无效的属性分配。请问各位大侠有没有解决的办法。

还有比legend更漂亮简便的控件吗?

喜欢0 评分0
默认头像
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2004-10-15 11:48

看看这个吧

http://arcscripts.esri.com/details.asp?dbid=12500

Summary

This is a replacement for the Legend Control that ships with MO 2.1. It uses Treeview type legend with scroll bars. It also includes a complete legend editor with support for all MO renderers. There is also support for Interstate shield placement, Scale dependent layer and label display as well as legend save and load. This is the shareware version, so there is no documentation included. There is however, a complete sample which uses most of the properties and methods. For Additional Information, please contact: http://www.digitalcorp.com report bugs t info@digitalcorp.com

[此贴子已经被作者于2004-10-15 11:49:32编辑过]
GIS麦田守望者,期待与您交流。
举报 回复(0) 喜欢(0)     评分
默认头像
路人甲
路人甲
  • 注册日期2004-09-02
  • 发帖数8
  • QQ
  • 铜币137枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2004-10-21 10:54

谢谢兄弟,可Treeview 控件我不会用啊大哥!legend在MO2.3上支持.net吗?

Axlegend1.setMapSource(AxMap1)

Axlegend1.LoadLegend(True)

C#里可以在true前加ref解决,可vb.net 里true前没法加byref啊!

举报 回复(0) 喜欢(0)     评分
默认头像
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
3楼#
发布于:2004-10-21 12:06
最近没用这个,真是不好意思,你可以到support.esri.com搜索下有没相关说明了
GIS麦田守望者,期待与您交流。
举报 回复(0) 喜欢(0)     评分
默认头像
路人甲
路人甲
  • 注册日期2003-12-01
  • 发帖数158
  • QQ
  • 铜币622枚
  • 威望0点
  • 贡献值0点
  • 银元0个
4楼#
发布于:2004-10-21 19:10
以下是引用jacklimin在2004-10-21 10:54:15的发言:

谢谢兄弟,可Treeview 控件我不会用啊大哥!legend在MO2.3上支持.net吗?

Axlegend1.setMapSource(AxMap1)

Axlegend1.LoadLegend(True)

C#里可以在true前加ref解决,可vb.net 里true前没法加byref啊!

C#中虽然可以加ref解决 ,但是 一 运行 就 死 掉

举报 回复(0) 喜欢(0)     评分
默认头像

返回顶部