This topic has not yet been rated - Rate this topic

DataFormats.EnhancedMetafile Field

Specifies the Windows enhanced metafile format. This static (Shared in Visual Basic) field is read-only.

[Visual Basic]
Public Shared ReadOnly EnhancedMetafile As String
[C#]
public static readonly string EnhancedMetafile;
[C++]
public: static String* EnhancedMetafile;
[JScript]
public static var EnhancedMetafile : String;

Remarks

The metafile format is a Windows file that stores an image in terms of graphic objects rather than pixels. When resized, a metafile preserves an image better than a bitmap.

This field is used by the IDataObject interface and the DataObject class to specify the data type.

When adding to an IDataObject or to an implementation of DataObject, use this field as the format for the IDataObject.SetData and DataObject.SetData methods.

To see if an object of this type exists, use this field as the format for the IDataObject.GetDataPresent and DataObject.GetDataPresent methods.

To get an object of this type, use this as the format for the IDataObject.GetData and DataObject.GetData methods.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataFormats Class | DataFormats Members | System.Windows.Forms Namespace | GetData | SetData | GetDataPresent | GetFormats | DataObject | IDataObject | GetFormat | Format.name | Format.id

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.