Main Page Class Hierarchy Compound List File List Compound Members

# EMF::EMRSETBKMODE Class Reference

EMF Set Background Mode. More...

`#include <libemf.h>`

Inheritance diagram for EMF::EMRSETBKMODE::

List of all members.

## Public Methods
| EMRSETBKMODE (DWORD mode)
| EMRSETBKMODE (DATASTREAM &ds)
bool | serialize (DATASTREAM ds)
int | size (void) const
void | execute (METAFILEDEVICECONTEXT *, HDC dc) const

## Detailed Description

EMF Set Background Mode.

Set the background mode: transparent or opaque. Seems to be ignored by StarOffice. (Appears to work for text, though.)

## Constructor & Destructor Documentation

EMF::EMRSETBKMODE::EMRSETBKMODE ( | DWORD mode )`[inline]`

  | Parameters:
  mode | background mode.

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

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

## Member Function Documentation

void EMF::EMRSETBKMODE::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::EMRSETBKMODE::serialize ( | DATASTREAM ds )`[inline, virtual]`

  | Parameters:
  ds | Metafile datastream.
Reimplemented from EMF::METARECORD.

int EMF::EMRSETBKMODE::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