.TH "EMF::ENHMETAHEADER" 3 "Fri Nov 2 2018" "Version 1.0.9" "libemf" \" -*- nroff -*- .ad l .nh .SH NAME EMF::ENHMETAHEADER \- Enhanced Metafile Header Record\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBEMF::METARECORD\fP, and ENHMETAHEADER\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBENHMETAHEADER\fP (LPCWSTR description=0)" .br .ti -1c .RI "\fB~ENHMETAHEADER\fP ()" .br .ti -1c .RI "bool \fBserialize\fP (\fBDATASTREAM\fP ds)" .br .ti -1c .RI "bool \fBunserialize\fP (\fBDATASTREAM\fP ds)" .br .ti -1c .RI "int \fBsize\fP (void) const" .br .ti -1c .RI "void \fBexecute\fP (\fBMETAFILEDEVICECONTEXT\fP *source, HDC dc) const" .br .in -1c .SH "Detailed Description" .PP Enhanced Metafile Header Record\&. The \fBENHMETAHEADER\fP serves two purposes in this library: it keeps track of the size of the metafile (in physical dimensions) and number of records and handles that are ultimately to be written to the disk file\&. It is also a real record that must be written out\&. .SH "Constructor & Destructor Documentation" .PP .SS "EMF::ENHMETAHEADER::ENHMETAHEADER (LPCWSTR description = \fC0\fP)\fC [inline]\fP" .PP \fBParameters:\fP .RS 4 \fIdescription\fP an optional description argument is a UNICODE-like string with the following format: 'some text\\0some more text\\0\\0'\&. The W32 interface defines UNICODE characters to be two-byte (unsigned short strings)\&. The constructor makes a copy of the argument\&. .RE .PP .SS "EMF::ENHMETAHEADER::~ENHMETAHEADER ()\fC [inline]\fP" Destructor deletes memory allocated for description\&. .SH "Member Function Documentation" .PP .SS "void EMF::ENHMETAHEADER::execute (\fBMETAFILEDEVICECONTEXT\fP * source, HDC dc) const\fC [inline]\fP, \fC [virtual]\fP" Execute this record in the context of the given device context\&. .PP \fBParameters:\fP .RS 4 \fIsource\fP the device context from which this record is taken\&. .br \fIdc\fP device context for execute\&. .RE .PP .PP Implements \fBEMF::METARECORD\fP\&. .SS "bool EMF::ENHMETAHEADER::serialize (\fBDATASTREAM\fP ds)\fC [inline]\fP, \fC [virtual]\fP" Serializing the header is an example of an extended record\&. .PP \fBParameters:\fP .RS 4 \fIds\fP Metafile datastream\&. .RE .PP .PP Implements \fBEMF::METARECORD\fP\&. .PP References EMF::WCHARSTR::WCHARSTR()\&. .SS "int EMF::ENHMETAHEADER::size (void) const\fC [inline]\fP, \fC [virtual]\fP" Internally computed size of this record\&. .PP Implements \fBEMF::METARECORD\fP\&. .PP Referenced by EMF::METAFILEDEVICECONTEXT::nextHandle()\&. .SS "bool EMF::ENHMETAHEADER::unserialize (\fBDATASTREAM\fP ds)\fC [inline]\fP" Read a header record from the datastream\&. .PP Referenced by EMF::EMRCREATEPALETTE::execute()\&. .SH "Author" .PP Generated automatically by Doxygen for libemf from the source code\&.