3 Answers, 1 is accepted
Hello, Claude,
The RadImageEditor.CurrentBitmap property stores the current image in the editor.
Copying an image to the clipboard sounds more like a general programming question. After further research in the appropriate forums, I have found the following useful threads on this topic:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.clipboard.setimage?view=net-5.0
https://social.msdn.microsoft.com/Forums/vstudio/en-US/f0ad430f-4c7b-4bee-928b-afd933a58769/copy-an-image-to-clipboard-in-png-format?forum=csharpgeneral
https://stackoverflow.com/questions/2002922/how-do-i-copy-a-chart-image-to-the-clipboard-using-c2010
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Copying to the clipboard from a standard picturebox is not a problem Done that many items. For Example:
Clipboard.SetImage(pictureBox1.Image);
With the ImageEditor there is not a .Image Property or Method. Not sure how to get the image from the imageEditor
radImageEditor.WHAT?
Or am I missing something
Hello, Claude,
Have you tried the previously suggested RadImageEditor.CurrentBitmap property? It seems to work as expected on my end.
Clipboard.SetImage(this.radImageEditor1.CurrentBitmap);
Once the above code is executed, I can paste the image directly in Paint for example. Am I missing something?
If you are still experiencing any further difficulties, it would be greatly appreciated if you can provide more details about the exact scenario that you have. Thus, we would be able to setup a sample project on our end and further investigate the precise case. Thank you in advance.
I believe that the provided solution would fit your requirements.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.