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

Creates a Metafile::Metafile object for playback.

Syntax

void Metafile(
  [in] const WCHAR *filename
);

Parameters

[in] filename

Type: const WCHAR*

Pointer to a wide-character string that specifies the name of an existing disk file used to create the Metafile::Metafile object for playback.

Return value

None

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 gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Loading and Displaying Metafiles

Metafile

Metafile Constructors

Metafiles

Recording Metafiles