MetafileHeader::IsEmfOrEmfPlus method (gdiplusmetaheader.h)

The MetafileHeader::IsEmfOrEmfPlus method determines whether the associated metafile is in either the EMF or EMF+ format.

Syntax

BOOL IsEmfOrEmfPlus();

Return value

Type: BOOL

If the associated metafile is in the EMF or EMF+ format, this method returns TRUE; otherwise, it returns FALSE. In particular, this method returns FALSE if the associated metafile is in the WMF format.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusmetaheader.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

EmfType

Loading and Displaying Metafiles

MetafileHeader

Metafiles