\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/metafile.h>
+
\wxheading{See also}
\helpref{wxMetafileDC}{wxmetafiledc}
\func{bool}{Ok}{\void}
-Returns TRUE if the metafile is valid.
+Returns true if the metafile is valid.
\membersection{wxMetafile::Play}\label{wxmetafileplay}
\func{bool}{Play}{\param{wxDC *}{dc}}
Plays the metafile into the given device context, returning
-TRUE if successful.
+true if successful.
\membersection{wxMetafile::SetClipboard}
used for anything, but the wxMetafile object must still be destroyed by
the application.
-Below is a example of metafle, metafile device context and clipboard use
+Below is a example of metafile, metafile device context and clipboard use
from the {\tt hello.cpp} example. Note the way the metafile dimensions
are passed to the clipboard, making use of the device context's ability
to keep track of the maximum extent of drawing commands.
wxMetafileDC dc;
if (dc.Ok())
{
- Draw(dc, FALSE);
+ Draw(dc, false);
wxMetafile *mf = dc.Close();
if (mf)
{
\helpref{wxDC}{wxdc}\\
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/metafile.h>
+
\wxheading{See also}
\helpref{wxMetafile}{wxmetafile}, \helpref{wxDC}{wxdc}