关于将vml所画的图表 转换成图片

chengleibing 2011-03-17 10:52:44
大家好:
问一下,如何将用vml在网页上画的所画的图表 转换成图片,输出!最好能给个实例!谢谢~
...全文
100 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
宝_爸 2011-03-18
  • 打赏
  • 举报
回复
没用过 google到的

In looking for a similar solution I came across a 2 step process.

convert the VML to SVG.
render the SVG as an image.
SourceForge has an XSL based project to convert VML to SVG.

(sourceforge.net/projects/vectorconverter/)

I've been testing with it and it works OK in certain cases.

Next, the SVG to PNG handler on CodePlex. Once registered to process *.svg files, the handler will read the file and send the image back to the browser in .png format. You can download the source and see how it's done.

You could string the 2 steps together to get your bitmap from vml.

来自:
Render VML to bitmap in C#
http://stackoverflow.com/questions/640794/render-vml-to-bitmap-in-c
chengleibing 2011-03-18
  • 打赏
  • 举报
回复
他那个讲的是要用sga,还是不行

4,816

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧