Subject: Copy to clipboard in EMF format.
Posted By: watashi Post Date: 4/17/2008 8:25:10 AM
Hello,

 how to copy an image in bitmap to clipboard in EMF format?Is there any api available.
 
i am using C# 2005.


Thanks in advance.

Cheers,



Reply By: samjudson Reply Date: 4/17/2008 9:02:15 AM
EMF files are manipulated via the Metafile class. Metafile and Bitmap are two completely different file formats, one is Raster graphics (i.e. pixels) and the other is Vector graphics (lines and polygons).

So there are actually two questions here. 1) Can I convert a Bitmap to a Metafile. For this search google and you should find the Codeproject article on this. 2) How to write to the clipboard - I take it you know how to do this.

/- Sam Judson : Wrox Technical Editor -/

Go to topic 70679

Return to index page 1