欢迎光临
我们一直在努力

mapx+vb实战摘要(五)-.NET教程,VB.Net语言

建站超值云服务器,限时71元/月

1如何修改柱状专题图的样式?

map1.datasets.item(dsname).themes("trafficflubar").properties.size = barsize

map1.datasets.item(dsname).themes("trafficflubar").properties.barwidth = barwidth

map1.datasets.item(dsname).themes("trafficflubar").themeproperties.multivarcategories.item(1).style.regioncolor = smalltruck_color

map1.datasets.item(dsname).themes("trafficflubar").themeproperties.multivarcategories.item(2).style.regioncolor = middletruck_color

map1.datasets.item(dsname).themes("trafficflubar").themeproperties.multivarcategories.item(3).style.regioncolor = bigtruck_color

2如何修改饼状专题图的样式?

map1.datasets.item(dsname).themes("trafficflupiebar").properties.size = piebarsize

map1.datasets.item(dsname).themes("trafficflupiebar").properties.width = piebarwidth

map1.datasets.item(dsname).themes("trafficflupiebar").themeproperties.multivarcategories.item(1).style.regioncolor = smalltruck_color

map1.datasets.item(dsname).themes("trafficflupiebar").themeproperties.multivarcategories.item(2).style.regioncolor = middletruck_color

map1.datasets.item(dsname).themes("trafficflupiebar").themeproperties.multivarcategories.item(3).style.regioncolor = bigtruck_color

map1.datasets.item(dsname).themes("trafficflupiebar").themeproperties.multivarcategories.item(4).style.regioncolor = smallcar_color

3如何修改标注的样式?

set ostyle = new mapxlib.style

ostyle.textfont.size = 12

ostyle.textfont.bold = true

ostyle.symbolfontcolor = vbwhite

ostyle.textfontbackcolor = vbblue

ostyle.textfontopaque = true

map1.annotations.addtext(rs(showfield), lyr.selection(1).centerx, lyr.selection(1).centery, 3).graphic.style = ostyle

(白字黑底)

作者blog:http://blog.csdn.net/ppp80/

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » mapx+vb实战摘要(五)-.NET教程,VB.Net语言
分享到: 更多 (0)

相关推荐

  • 暂无文章