A metafile device context is used for creating a metafile. The programmer should create the metafile device context, close it to return a metafile, delete the device context, use the metafile (the only valid thing to do with it currently is to place it on the clipboard, and then delete the metafile.
These functions are only available under Windows.
See also wxMetaFile.
wxMetaFileDC filename
wxMetafileDC create
wxMetaFileDC close
string filename
Filename if creating this metafile device context as disk-based.
void ( create)
Creates a metafile device context.
filename is the file to be used if creating a disk-based metafile. Usually this will be zero or absent, and an in-memory metafile will be created.
wxMetaFile ( close)
Closes the metafile device context and returns a metafile (or nil if the function failed). The device context should no longer be used after this call is made, and it should be deleted.
See wxMetaFile.