Metafile::Metafile(constWCHAR*,constWmfPlaceableFileHeader*) method (gdiplusheaders.h)

This topic lists the constructors of the Metafile class. For a complete class listing, see Metafile Class.

Overload list

Constructor Description
Metafile(WCHAR*) Creates a Metafile::Metafile object for playback.
Metafile(IStream*) Creates a Metafile::Metafile object from an IStream interface for playback.
Metafile(HENHMETAFILE,BOOL) Creates a GDI+ Metafile::Metafile object for playback based on a GDI Enhanced Metafile (EMF) file.
Metafile(HDC,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(WCHAR*,HDC,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(IStream*,HDC,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording to an IStream interface.
Metafile(HMETAFILE,WmfPlaceableFileHeader*,BOOL) Creates a GDI+Metafile::Metafile object for recording. The format will be placeable metafile.
Metafile(HDC,Rect&,MetafileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(HDC,RectF&,MetaFileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(WCHAR*,HDC,Rect&,MetaFileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(WCHAR*,HDC,RectF&,MetafileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording.
Metafile(IStream*,HDC,Rect&,MetafileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording to an IStream interface.
Metafile(IStream*,HDC,RectF&,MetafileFrameUnit,EmfType,WCHAR*) Creates a Metafile::Metafile object for recording to an IStream interface.

Syntax

void Metafile(
  const WCHAR                  *filename,
  const WmfPlaceableFileHeader *wmfPlaceableFileHeader
);

Parameters

filename

wmfPlaceableFileHeader

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header gdiplusheaders.h