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

Copy Grid as an image

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 21 Jul 2012, 11:35 AM
Hi,

We are successfully copying and pasting values from a grid to the clipboard and to Excel. However, we also wish to copy/paste the grid as an image.  In other words, add both the tabular values and a bitmap copy of the image to the clipboard. And the user may paste special values or image.

How do we copy a grid as an image?

Thanks, TJ

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 23 Jul 2012, 08:29 AM
Hi Thomas ,

RadGridView itself does not provide such functionality. We can rely only on what the framework may offer - in this case the Visual Brush. So in order to obtain RadGridView as an image you may try setting an instance of it to the Visual property of the VisualBrush.

*This is a general technique for all WPF controls and has not been tested particularly with RadGridView.


Greetings,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Thomas
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or