Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EMRFORMAT structure

The EMRFORMAT structure contains information that identifies graphics data in an enhanced metafile. A GDICOMMENT_MULTIFORMATS enhanced metafile public comment contains an array of EMRFORMAT structures.

Syntax


typedef struct tagEMRFORMAT {
  DWORD dSignature;
  DWORD nVersion;
  DWORD cbData;
  DWORD offData;
} EMRFORMAT;

Members

dSignature

Contains a picture format identifier. The following identifier values are defined.

IdentifierMeaning
ENHMETA_SIGNATUREThe picture is in enhanced metafile format.
EPS_SIGNATUREThe picture is in encapsulated PostScript file format.

 

nVersion

Contains a picture version number. The following version number value is defined.

VersionMeaning
1This is the version number of a level 1 encapsulated PostScript file.

 

cbData

The size, in bytes, of the picture data.

offData

Specifies an offset to the picture data. The offset is figured from the start of the GDICOMMENT_MULTIFORMATS public comment within which this EMRFORMAT structure is embedded. The offset must be a DWORD offset.

Remarks

The reference page for GdiComment discusses enhanced metafile public comments in general, and the GDICOMMENT_MULTIFORMATS public comment in particular.

Requirements

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

Metafiles Overview
Metafile Structures
GdiComment

 

 

Community Additions

Show:
© 2015 Microsoft