ID2D1GdiMetafile1 interface

This interface performs all the same functions as the existing ID2D1GdiMetafile interface. It also enables accessing the metafile DPI and bounds.

Members

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

Methods

The ID2D1GdiMetafile1 interface has these methods.

MethodDescription
GetDpi

Gets the DPI reported by the metafile.

GetSourceBounds

Gets the bounds of the metafile in source space in DIPs. This corresponds to the frame rect in an EMF/EMF+.

 

Requirements

Minimum supported client

Windows 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Minimum supported phone

Windows 10 Mobile

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1GdiMetafile

 

 

Show: