GDI+ provides the Metafile class so that you can record and display metafiles. A metafile, also called a vector image, is an image that is stored as a sequence of drawing commands and settings. The Image class is a base class of Metafile class.
GDI+ can display metafiles that have been stored in the following formats:
To display metafile image, use Metafile class to load metafile image and then call DrawImage method of the Graphics class.
The following code example demonstrates how to display a metafile image: