0
Answer

How to Paste Metafile(GIF) from EXCEL

Ask a question
Administrator

Administrator

21y
1.1k
1
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".