class CMetafileGraphicsContext: public CraphicsContext
device context that generates output to a metafile.
Defined in: GraphicContext.h
Initializes the graphics context as empty
bool Create(LPCTSTR lpszFileName = NULL)
Creates a standard metafile.
bool CreateEnhanced(HDC hdcRef, LPCTSTR lpszFileName, LPCRECT prcBounds, LPCTSTR lpszDescription )
Create an enhanced metafile.
bool IsEnhanced()
Returns whether or not the encapsulated metafile is an enhanced metafile or not.
HMETAFILE Close()
Close the device context associated with the contained metafile
HMETAFILE CloseEnhanced()
Close the device context associated with the contained metafile