Showing results for 
Search instead for 
Did you mean: 

Getting image from clipboard

Valued Contributor
Valued Contributor

Hi Everyone but Jason in particular.I have been trying to use the CopyEMFtoclipboard Method and have been unsuccessful. I have seen all the post on the various forums about how incompatable EMF files are with .NET.I have seen the function that Jason has developed using user32 interface to access the data but I have not been able to get that to work either - if I try to save the Metefile I get an error "A generic error occurred in GDI+" which seems to have a a lot of causes. Some of the post about this seem to be a while ago and I was interested to see if there was another/ better way to do this and if people had it working in a current environment.I am using ST4 with Microsoft Visual c# Express 2010 on Win 7It seems strange that SE have this method when it EMF format with .NET seems to be an issue.Thank YouRegards


Posted by: Peter Simpson
Post date: 11/28/2011 8:56:34 AM


RE: Getting image from clipboard

Valued Contributor
Valued Contributor

Peter, download from this post.  I just tried it on Windows 7 with ST4 and it worked fine.



Posted by: Jason Newell
Post date: 12/7/2011 10:56:29 AM