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.
 
Back
Top