EMRTEXT structure (wingdi.h)

The EMRTEXT structure contains members for text output.

Syntax

typedef struct tagEMRTEXT {
  POINTL ptlReference;
  DWORD  nChars;
  DWORD  offString;
  DWORD  fOptions;
  RECTL  rcl;
  DWORD  offDx;
} EMRTEXT, *PEMRTEXT;

Members

ptlReference

The logical coordinates of the reference point used to position the string.

nChars

The number of characters in the string.

offString

The offset to the string.

fOptions

A value that indicates how to use the application-defined rectangle. This member can be a combination of the ETO_CLIPPED and ETO_OPAQUE values.

rcl

An optional clipping and/or opaquing rectangle, in logical units.

offDx

The offset to the intercharacter spacing array.

Remarks

The EMRTEXT structure is used as a member in the EMREXTTEXTOUT and EMRPOLYTEXTOUT structures.

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

EMR

Metafile Structures

Metafiles Overview

POINTL

RECTL