Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I work to graphical chart(wpf) I want to save it to an image!!

help please?
Posted
Updated 13-Sep-10 22:59pm
v3
Comments
Sandeep Mewara 6-Sep-10 14:19pm    
You say WPF in question and tagged as ASP.NET. :doh:
Sandeep Mewara 6-Sep-10 14:20pm    
Is that you want to create a graphical chart and then save it as an image? If so, please use 'Improve Question' and update it.
Dalek Dave 14-Sep-10 4:59am    
Minor Edit for Syntax.

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
 
Share this answer
 
it doesno't work because i need to convert a graphical chart (object ) to bitmap (not a text!)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900