Main Page Class Hierarchy Compound List File List Compound Members

# EMF::EMRSETBKCOLOR Class Reference

EMF Set Background Color. More...

`#include <libemf.h>`

Inheritance diagram for EMF::EMRSETBKCOLOR::

List of all members.

## Public Methods
| EMRSETBKCOLOR (COLORREF color)
| EMRSETBKCOLOR (DATASTREAM &ds)
bool | serialize (DATASTREAM ds)
int | size (void) const
void | execute (METAFILEDEVICECONTEXT *, HDC dc) const

## Detailed Description

EMF Set Background Color.

Sets the background color.

## Constructor & Destructor Documentation

EMF::EMRSETBKCOLOR::EMRSETBKCOLOR ( | COLORREF color )`[inline]`

  | Parameters:
  color | background color

EMF::EMRSETBKCOLOR::EMRSETBKCOLOR ( | DATASTREAM & ds )`[inline]`

  | Construct a SetBkColor record from the input datastream. Parameters:
  ds | Metafile datastream.

## Member Function Documentation

void EMF::EMRSETBKCOLOR::execute ( | METAFILEDEVICECONTEXT * source,
| HDC dc ) const`[inline, virtual]`

  | Execute this record in the context of the given device context. Parameters:
  source | the device context from which this record is taken.
  dc | device context for execute.
Reimplemented from EMF::METARECORD.

bool EMF::EMRSETBKCOLOR::serialize ( | DATASTREAM ds )`[inline, virtual]`

  | Parameters:
  fp | Metafile file handle.
Reimplemented from EMF::METARECORD.

int EMF::EMRSETBKCOLOR::size ( | void ) const`[inline, virtual]`

| Internally computed size of this record. Reimplemented from EMF::METARECORD.

The documentation for this class was generated from the following file:

- libemf.h