ID2D1GdiMetafile interface (d2d1_1.h)

A Direct2D resource that wraps a WMF, EMF, or EMF+ metafile.

Inheritance

The ID2D1GdiMetafile interface inherits from the IUnknown interface. ID2D1GdiMetafile also has these types of members:

Methods

The ID2D1GdiMetafile interface has these methods.

 
ID2D1GdiMetafile::GetBounds

Gets the bounds of the metafile, in device-independent pixels (DIPs), as reported in the metafile’s header.
ID2D1GdiMetafile::Stream

This method streams the contents of the command to the given metafile sink.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h