EMRSETVIEWPORTORGEX structure (wingdi.h)

The EMRSETVIEWPORTORGEX, EMRSETWINDOWORGEX, and EMRSETBRUSHORGEX structures contain members for the SetViewportOrgEx, SetWindowOrgEx, and SetBrushOrgEx enhanced metafile records.

Syntax

typedef struct tagEMRSETVIEWPORTORGEX {
  EMR    emr;
  POINTL ptlOrigin;
} EMRSETVIEWPORTORGEX, *PEMRSETVIEWPORTORGEX, EMRSETWINDOWORGEX, *PEMRSETWINDOWORGEX, EMRSETBRUSHORGEX, *PEMRSETBRUSHORGEX;

Members

emr

Base structure for all record types.

ptlOrigin

Coordinates of the origin. For EMRSETVIEWPORTORGEX and EMRSETBRUSHORGEX, this is in device units. For EMRSETWINDOWORGEX, this is in logical units.

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

Metafile Structures

Metafiles Overview

SetBrushOrgEx

SetViewportOrgEx

SetWindowOrgEx