EmfType Enumeration
Specifies the nature of the records that are placed in an Enhanced Metafile (EMF) file. This enumeration is used by several constructors in the Metafile class.
[Visual Basic] <Serializable> Public Enum EmfType [C#] [Serializable] public enum EmfType [C++] [Serializable] __value public enum EmfType [JScript] public Serializable enum EmfType
Remarks
GDI+ uses the enhanced Windows metafile image format (EMF). The EMF format contains a comment mechanism for embedding data within the metafile. This comment mechanism is used to embed GDI+ records within an EMF file. EMF files that contain GDI+ data are called EMF+ files. Applications that do not recognize the comment data skip the comment records and render the records they do understand. If the EMF+ file is played back by GDI+, then the GDI+ records are used to render the metafile; otherwise, the GDI records (if present) are used.
Members
| Member name | Description |
|---|---|
| EmfOnly | Specifies that all the records in the metafile are EMF records, which can be displayed by GDI or GDI+. |
| EmfPlusDual | Specifies that all EMF+ records in the metafile are associated with an alternate EMF record. Metafiles of type EmfTypeEmfPlusDual can be displayed by GDI or by GDI+. |
| EmfPlusOnly | Specifies that all the records in the metafile are EMF+ records, which can be displayed by GDI+ but not by GDI. |
Requirements
Namespace: System.Drawing.Imaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)