Data Type : Composite Data; Rich Text

CDWINMETAHEADER - Start of a Windows GDI Metafile Record
----------------------------------------------------------------------------------------------------------


#include <editods.h>

Definition :

typedef struct {
  LSIG     Header;           /* Signature and Length */
  SWORD    mm;               /* Windows mapping mode */
  SWORD    xExt,yExt;        /* Extents, in world coordinates */
  RECTSIZE OriginalDisplaySize; /* Original disp. size, in twips */
  DWORD    MetafileSize;     /* Total size of metafile, in bytes */
  WORD     SegCount;         /* Number of CDWINMETASEG records */
/* Metafile segments follow... */
} CDWINMETAHEADER;


Description :

Identifies a Windows Graphics Device Interface (GDI) metafile embedded in a rich text field. This record must be preceded by a CDGRAPHIC record. Since Windows GDI metafiles can be large, but Domino and Notes have an internal limit of 65,536 bytes (64kB) for a segment, a metafile may be divided into segments of up to 64kB; each segment must be preceded by a CDWINMETASEG record.

  Header            Tag identifying this as a CDWINMETAHEADER record
 mm                Windows mapping mode
 xExt              Width of drawing in world coordinates
 yExt              Height of drawing in world coordinates
 OriginalDisplaySize Original Display size of metafile,

See Also :

CDGRAPHIC
----------------------------------------------------------------------------------------------------------