This is a migrated thread and some comments may be shown as answers.

Paste Telerik Chart into RTB

1 Answer 47 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Claude asked on 01 Mar 2012, 10:28 PM
I wish to programmatically place a Chart or for that matter any object in the clipboard into the RTB.  

I have a tabbed container with a chart on one tab and I wish to auto generate a report of some sort in another Tab which contains the RTB.  There may be several charts from various tabs that this needs to be done with, along with some other numerical analysis and text ouput.  Would like this to be done automatically from a button click event.  

Guidance would be appreciated. 

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 06 Mar 2012, 01:58 PM
Hello Claude,

You can export the chart as an image. Then you can add it to the RadRichTextBox's document by using the ImageInline class. You can read more about it in the online documentation.

Greetings,
Svett
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Claude
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or