Creates a Metafile::Metafile object for recording to an IStream interface.
void Metafile( IN IStream *stream, IN HDC referenceHdc, IN const RectF & frameRect, IN MetafileFrameUnit frameUnit, IN EmfType type, IN const WCHAR *description );
Pointer to a COM IStream interface that points to a stream of data in a file. When the commands are recorded, they will be saved to this stream.
Windows handle to a device context that contains attributes of the display device that is used to record the metafile.
Type: const RectF
Reference to a rectangle that bounds the metafile display.
Type: const WCHAR*
Optional. Pointer to a wide-character string that specifies the descriptive name of the metafile. The default value is NULL.
When recording to a file, the file must be writable, and Windows GDI+ must be able to obtain an exclusive lock on the file.
|Minimum supported client||Windows XP, Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||gdiplusheaders.h (include Gdiplus.h)|