EMRSETBKCOLOR structure (wingdi.h)

The EMRSETBKCOLOR and EMRSETTEXTCOLOR structures contain members for the SetBkColor and SetTextColor enhanced metafile records.

Syntax

typedef struct tagEMRSETTEXTCOLOR {
  EMR      emr;
  COLORREF crColor;
} EMRSETBKCOLOR, *PEMRSETBKCOLOR, EMRSETTEXTCOLOR, *PEMRSETTEXTCOLOR;

Members

emr

Base structure for all record types.

crColor

Color value. To make a COLORREF value, use the RGB macro.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

COLORREF

Metafile Structures

Metafiles Overview

RGB