Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

How to Paste Metafile(GIF) from EXCEL

Mar 19 2003 5:42 PM
I want to paste pictures that have been pasted in Excel. When I "Copy & Paste" from other tools(MSpaint, MSPhotoEditor etc...), the format in Clipbord is "Bitmap etc...". So, I can paste it by next code. Bitmap bmp = (Bitmap)d.GetData(DataFormats.Bitmap) But, from Excel, the format are "MetafilePict, GIF, PNG, etc... ". Please help me how to convert(cast) these formats into "Bitmap".