MetafileType Enum

Definition

Specifies types of metafiles. The Type property returns a member of this enumeration.

C#
public enum MetafileType
Inheritance
MetafileType

Fields

Name Value Description
Invalid 0

Specifies a metafile format that is not recognized in GDI+.

Wmf 1

Specifies a WMF (Windows Metafile) file. Such a file contains only GDI records.

WmfPlaceable 2

Specifies a WMF (Windows Metafile) file that has a placeable metafile header in front of it.

Emf 3

Specifies an Enhanced Metafile (EMF) file. Such a file contains only GDI records.

EmfPlusOnly 4

Specifies an EMF+ file. Such a file contains only GDI+ records and must be displayed by using GDI+. Displaying the records using GDI may cause unpredictable results.

EmfPlusDual 5

Specifies an EMF+ Dual file. Such a file contains GDI+ records along with alternative GDI records and can be displayed by using either GDI or GDI+. Displaying the records using GDI may cause some quality degradation.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9