将图形图表保存到图像 [英] Save Graphical chart to image
本文介绍了将图形图表保存到图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要处理图形化图表(wpf),我想将其保存为图像!
Hi,
I work to graphical chart(wpf) I want to save it to an image!!
help please?
推荐答案
您可以使用RenderTargetBitmap
http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.rendertargetbitmap.aspx [ ^ ]
将视觉转换为位图
You can use a RenderTargetBitmap
http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.rendertargetbitmap.aspx[^]
to convert a visual to a bitmap
它不起作用,因为我需要将图形图表(object)转换为位图(而不是文本!)
it doesno''t work because i need to convert a graphical chart (object ) to bitmap (not a text!)
这篇关于将图形图表保存到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文