about can't get MetafileEnhanced object from clipboard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

IDataObject oTest = Clipboard.GetDataObject();
if (oTest.GetDataPresent( DataFormats.EnhancedMetafile) )
{
MessageBox.Show( "Is EnhancedMetafile ") ;
object obj = oTest.GetData(DataFormats.EnhancedMetafile); // why obj is null
}

thanks
 
That looks like C# coding to me. If so, you'd be better off asking in a
newsgroup related to C#, or maybe a group like
microsoft.public.dotnet.framework.drawing.

This newsgroup is for questions about coding in VBA using Access, the
database product that's part of Office Professional.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top