Re: Getting CF_ENHMETAFILE from clipboard

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




It contains no data because Office does not know how to present the custom
clipboard format.

But it contains data. As I said the method IsClipboardFormatAvailable(CF_ENHMETAFILE) of the user32.dll library returns true. So Office knows how to present the format.
http://www.codeguru.com/cpp/w-p/clipboard/externallinks/article.php/c9155/ There's source code of the clipboard viewer that can view CF_ENHMETAFILE copied by Office. With no intricate movements.

It's possible. We don't know how - that's the question.
.



Relevant Pages

  • Re: Getting CF_ENHMETAFILE from clipboard
    ... If you enumerate all clipboard formats in c# using the GetFormats methods, ... you will see that the clipboard contains the "EnhancedMetafile" custom ... CF_ENHMETAFILE clipboard format can be retrieved using the calls in my post ... "MetaFilePict" custom .Net format on the clipboard. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Bitmap + Clipboard + Transparency = Blue Background?
    ... MS Paint does not recognize the "PNG" clipboard format. ... Office 2007 does regognize the "PNG" clipboard format. ... This clipboard viewer is invaluable for testing your code for ...
    (microsoft.public.dotnet.framework.drawing)