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.

EmfPlusRecordType enumeration

Applies to: desktop apps only

The EmfPlusRecordType enumeration identifies metafile record types used in Windows Metafile Format (WMF), Enhanced Metafile (EMF), and EMF+ files. The elements of the EmfPlusRecordType enumeration come in three groups.

  • Elements in the first group have the prefix WmfRecordType and identity WMF records.
  • Elements in the second group have the prefix EmfRecordType and identify EMF records.
  • Elements in the third group have the prefix EmfPlusRecordType and identify EMF+ records.

WMF and EMF records can be displayed by Windows GDI+ and by Windows Graphics Device Interface (GDI). EMF+ records can be displayed by GDI+ but not by GDI.

Elements that have the WmfRecordType prefix are analogous to constants (defined in Wingdi.h) that have the prefix META_. For example, the element WmfRecordTypeSetBkColor is analogous to the constant META_SETBKCOLOR. For more information about WMF files, see Windows-Format Metafiles.

Elements that have the EmfRecordType prefix are analogous to constants (defined in Wingdi.h) that have the prefix EMR_. For example, the element EmfRecordTypePolygon is analogous to the constant EMR_POLYGON. For more information about EMR constants, see EMR.

Elements that have the EmfPlusRecordType prefix are specific to GDI+. Most of those elements correspond to methods of the Graphics class. The remaining elements identify the header, the end of the file, and other sections of the metafile. The Constants section of this topic shows the correspondence between the EMF+ record types and the methods of the Graphics class.

Syntax

typedef enum  {
  WmfRecordTypeSetBkColor                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKCOLOR),
  WmfRecordTypeSetBkMode                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETBKMODE),
  WmfRecordTypeSetMapMode                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPMODE),
  WmfRecordTypeSetROP2                       = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETROP2),
  WmfRecordTypeSetRelAbs                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETRELABS),
  WmfRecordTypeSetPolyFillMode               = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPOLYFILLMODE),
  WmfRecordTypeSetStretchBltMode             = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETSTRETCHBLTMODE),
  WmfRecordTypeSetTextCharExtra              = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCHAREXTRA),
  WmfRecordTypeSetTextColor                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTCOLOR),
  WmfRecordTypeSetTextJustification          = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTJUSTIFICATION),
  WmfRecordTypeSetWindowOrg                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWORG),
  WmfRecordTypeSetWindowExt                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETWINDOWEXT),
  WmfRecordTypeSetViewportOrg                = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTORG),
  WmfRecordTypeSetViewportExt                = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETVIEWPORTEXT),
  WmfRecordTypeOffsetWindowOrg               = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETWINDOWORG),
  WmfRecordTypeScaleWindowExt                = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEWINDOWEXT),
  WmfRecordTypeOffsetViewportOrg             = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETVIEWPORTORG),
  WmfRecordTypeScaleViewportExt              = GDIP_WMF_RECORD_TO_EMFPLUS(META_SCALEVIEWPORTEXT),
  WmfRecordTypeLineTo                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_LINETO),
  WmfRecordTypeMoveTo                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_MOVETO),
  WmfRecordTypeExcludeClipRect               = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXCLUDECLIPRECT),
  WmfRecordTypeIntersectClipRect             = GDIP_WMF_RECORD_TO_EMFPLUS(META_INTERSECTCLIPRECT),
  WmfRecordTypeArc                           = GDIP_WMF_RECORD_TO_EMFPLUS(META_ARC),
  WmfRecordTypeEllipse                       = GDIP_WMF_RECORD_TO_EMFPLUS(META_ELLIPSE),
  WmfRecordTypeFloodFill                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_FLOODFILL),
  WmfRecordTypePie                           = GDIP_WMF_RECORD_TO_EMFPLUS(META_PIE),
  WmfRecordTypeRectangle                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_RECTANGLE),
  WmfRecordTypeRoundRect                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_ROUNDRECT),
  WmfRecordTypePatBlt                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_PATBLT),
  WmfRecordTypeSaveDC                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_SAVEDC),
  WmfRecordTypeSetPixel                      = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPIXEL),
  WmfRecordTypeOffsetClipRgn                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_OFFSETCLIPRGN),
  WmfRecordTypeTextOut                       = GDIP_WMF_RECORD_TO_EMFPLUS(META_TEXTOUT),
  WmfRecordTypeBitBlt                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_BITBLT),
  WmfRecordTypeStretchBlt                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHBLT),
  WmfRecordTypePolygon                       = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYGON),
  WmfRecordTypePolyline                      = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYLINE),
  WmfRecordTypeEscape                        = GDIP_WMF_RECORD_TO_EMFPLUS(META_ESCAPE),
  WmfRecordTypeRestoreDC                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESTOREDC),
  WmfRecordTypeFillRegion                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_FILLREGION),
  WmfRecordTypeFrameRegion                   = GDIP_WMF_RECORD_TO_EMFPLUS(META_FRAMEREGION),
  WmfRecordTypeInvertRegion                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_INVERTREGION),
  WmfRecordTypePaintRegion                   = GDIP_WMF_RECORD_TO_EMFPLUS(META_PAINTREGION),
  WmfRecordTypeSelectClipRegion              = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTCLIPREGION),
  WmfRecordTypeSelectObject                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTOBJECT),
  WmfRecordTypeSetTextAlign                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETTEXTALIGN),
  WmfRecordTypeDrawText                      = GDIP_WMF_RECORD_TO_EMFPLUS(0x062F),
  WmfRecordTypeChord                         = GDIP_WMF_RECORD_TO_EMFPLUS(META_CHORD),
  WmfRecordTypeSetMapperFlags                = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETMAPPERFLAGS),
  WmfRecordTypeExtTextOut                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTTEXTOUT),
  WmfRecordTypeSetDIBToDev                   = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETDIBTODEV),
  WmfRecordTypeSelectPalette                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SELECTPALETTE),
  WmfRecordTypeRealizePalette                = GDIP_WMF_RECORD_TO_EMFPLUS(META_REALIZEPALETTE),
  WmfRecordTypeAnimatePalette                = GDIP_WMF_RECORD_TO_EMFPLUS(META_ANIMATEPALETTE),
  WmfRecordTypeSetPalEntries                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_SETPALENTRIES),
  WmfRecordTypePolyPolygon                   = GDIP_WMF_RECORD_TO_EMFPLUS(META_POLYPOLYGON),
  WmfRecordTypeResizePalette                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_RESIZEPALETTE),
  WmfRecordTypeDIBBitBlt                     = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBBITBLT),
  WmfRecordTypeDIBStretchBlt                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBSTRETCHBLT),
  WmfRecordTypeDIBCreatePatternBrush         = GDIP_WMF_RECORD_TO_EMFPLUS(META_DIBCREATEPATTERNBRUSH),
  WmfRecordTypeStretchDIB                    = GDIP_WMF_RECORD_TO_EMFPLUS(META_STRETCHDIB),
  WmfRecordTypeExtFloodFill                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_EXTFLOODFILL),
  WmfRecordTypeSetLayout                     = GDIP_WMF_RECORD_TO_EMFPLUS(0x0149),
  WmfRecordTypeResetDC                       = GDIP_WMF_RECORD_TO_EMFPLUS(0x014C),
  WmfRecordTypeStartDoc                      = GDIP_WMF_RECORD_TO_EMFPLUS(0x014D),
  WmfRecordTypeStartPage                     = GDIP_WMF_RECORD_TO_EMFPLUS(0x004F),
  WmfRecordTypeEndPage                       = GDIP_WMF_RECORD_TO_EMFPLUS(0x0050),
  WmfRecordTypeAbortDoc                      = GDIP_WMF_RECORD_TO_EMFPLUS(0x0052),
  WmfRecordTypeEndDoc                        = GDIP_WMF_RECORD_TO_EMFPLUS(0x005E),
  WmfRecordTypeDeleteObject                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_DELETEOBJECT),
  WmfRecordTypeCreatePalette                 = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPALETTE),
  WmfRecordTypeCreateBrush                   = GDIP_WMF_RECORD_TO_EMFPLUS(0x00F8),
  WmfRecordTypeCreatePatternBrush            = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPATTERNBRUSH),
  WmfRecordTypeCreatePenIndirect             = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEPENINDIRECT),
  WmfRecordTypeCreateFontIndirect            = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEFONTINDIRECT),
  WmfRecordTypeCreateBrushIndirect           = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEBRUSHINDIRECT),
  WmfRecordTypeCreateBitmapIndirect          = GDIP_WMF_RECORD_TO_EMFPLUS(0x02FD),
  WmfRecordTypeCreateBitmap                  = GDIP_WMF_RECORD_TO_EMFPLUS(0x06FE),
  WmfRecordTypeCreateRegion                  = GDIP_WMF_RECORD_TO_EMFPLUS(META_CREATEREGION),
  EmfRecordTypeHeader                        = EMR_HEADER,
  EmfRecordTypePolyBezier                    = EMR_POLYBEZIER,
  EmfRecordTypePolygon                       = EMR_POLYGON,
  EmfRecordTypePolyline                      = EMR_POLYLINE,
  EmfRecordTypePolyBezierTo                  = EMR_POLYBEZIERTO,
  EmfRecordTypePolyLineTo                    = EMR_POLYLINETO,
  EmfRecordTypePolyPolyline                  = EMR_POLYPOLYLINE,
  EmfRecordTypePolyPolygon                   = EMR_POLYPOLYGON,
  EmfRecordTypeSetWindowExtEx                = EMR_SETWINDOWEXTEX,
  EmfRecordTypeSetWindowOrgEx                = EMR_SETWINDOWORGEX,
  EmfRecordTypeSetViewportExtEx              = EMR_SETVIEWPORTEXTEX,
  EmfRecordTypeSetViewportOrgEx              = EMR_SETVIEWPORTORGEX,
  EmfRecordTypeSetBrushOrgEx                 = EMR_SETBRUSHORGEX,
  EmfRecordTypeEOF                           = EMR_EOF,
  EmfRecordTypeSetPixelV                     = EMR_SETPIXELV,
  EmfRecordTypeSetMapperFlags                = EMR_SETMAPPERFLAGS,
  EmfRecordTypeSetMapMode                    = EMR_SETMAPMODE,
  EmfRecordTypeSetBkMode                     = EMR_SETBKMODE,
  EmfRecordTypeSetPolyFillMode               = EMR_SETPOLYFILLMODE,
  EmfRecordTypeSetROP2                       = EMR_SETROP2,
  EmfRecordTypeSetStretchBltMode             = EMR_SETSTRETCHBLTMODE,
  EmfRecordTypeSetTextAlign                  = EMR_SETTEXTALIGN,
  EmfRecordTypeSetColorAdjustment            = EMR_SETCOLORADJUSTMENT,
  EmfRecordTypeSetTextColor                  = EMR_SETTEXTCOLOR,
  EmfRecordTypeSetBkColor                    = EMR_SETBKCOLOR,
  EmfRecordTypeOffsetClipRgn                 = EMR_OFFSETCLIPRGN,
  EmfRecordTypeMoveToEx                      = EMR_MOVETOEX,
  EmfRecordTypeSetMetaRgn                    = EMR_SETMETARGN,
  EmfRecordTypeExcludeClipRect               = EMR_EXCLUDECLIPRECT,
  EmfRecordTypeIntersectClipRect             = EMR_INTERSECTCLIPRECT,
  EmfRecordTypeScaleViewportExtEx            = EMR_SCALEVIEWPORTEXTEX,
  EmfRecordTypeScaleWindowExtEx              = EMR_SCALEWINDOWEXTEX,
  EmfRecordTypeSaveDC                        = EMR_SAVEDC,
  EmfRecordTypeRestoreDC                     = EMR_RESTOREDC,
  EmfRecordTypeSetWorldTransform             = EMR_SETWORLDTRANSFORM,
  EmfRecordTypeModifyWorldTransform          = EMR_MODIFYWORLDTRANSFORM,
  EmfRecordTypeSelectObject                  = EMR_SELECTOBJECT,
  EmfRecordTypeCreatePen                     = EMR_CREATEPEN,
  EmfRecordTypeCreateBrushIndirect           = EMR_CREATEBRUSHINDIRECT,
  EmfRecordTypeDeleteObject                  = EMR_DELETEOBJECT,
  EmfRecordTypeAngleArc                      = EMR_ANGLEARC,
  EmfRecordTypeEllipse                       = EMR_ELLIPSE,
  EmfRecordTypeRectangle                     = EMR_RECTANGLE,
  EmfRecordTypeRoundRect                     = EMR_ROUNDRECT,
  EmfRecordTypeArc                           = EMR_ARC,
  EmfRecordTypeChord                         = EMR_CHORD,
  EmfRecordTypePie                           = EMR_PIE,
  EmfRecordTypeSelectPalette                 = EMR_SELECTPALETTE,
  EmfRecordTypeCreatePalette                 = EMR_CREATEPALETTE,
  EmfRecordTypeSetPaletteEntries             = EMR_SETPALETTEENTRIES,
  EmfRecordTypeResizePalette                 = EMR_RESIZEPALETTE,
  EmfRecordTypeRealizePalette                = EMR_REALIZEPALETTE,
  EmfRecordTypeExtFloodFill                  = EMR_EXTFLOODFILL,
  EmfRecordTypeLineTo                        = EMR_LINETO,
  EmfRecordTypeArcTo                         = EMR_ARCTO,
  EmfRecordTypePolyDraw                      = EMR_POLYDRAW,
  EmfRecordTypeSetArcDirection               = EMR_SETARCDIRECTION,
  EmfRecordTypeSetMiterLimit                 = EMR_SETMITERLIMIT,
  EmfRecordTypeBeginPath                     = EMR_BEGINPATH,
  EmfRecordTypeEndPath                       = EMR_ENDPATH,
  EmfRecordTypeCloseFigure                   = EMR_CLOSEFIGURE,
  EmfRecordTypeFillPath                      = EMR_FILLPATH,
  EmfRecordTypeStrokeAndFillPath             = EMR_STROKEANDFILLPATH,
  EmfRecordTypeStrokePath                    = EMR_STROKEPATH,
  EmfRecordTypeFlattenPath                   = EMR_FLATTENPATH,
  EmfRecordTypeWidenPath                     = EMR_WIDENPATH,
  EmfRecordTypeSelectClipPath                = EMR_SELECTCLIPPATH,
  EmfRecordTypeAbortPath                     = EMR_ABORTPATH,
  EmfRecordTypeReserved_069                  = 69,
  EmfRecordTypeGdiComment                    = EMR_GDICOMMENT,
  EmfRecordTypeFillRgn                       = EMR_FILLRGN,
  EmfRecordTypeFrameRgn                      = EMR_FRAMERGN,
  EmfRecordTypeInvertRgn                     = EMR_INVERTRGN,
  EmfRecordTypePaintRgn                      = EMR_PAINTRGN,
  EmfRecordTypeExtSelectClipRgn              = EMR_EXTSELECTCLIPRGN,
  EmfRecordTypeBitBlt                        = EMR_BITBLT,
  EmfRecordTypeStretchBlt                    = EMR_STRETCHBLT,
  EmfRecordTypeMaskBlt                       = EMR_MASKBLT,
  EmfRecordTypePlgBlt                        = EMR_PLGBLT,
  EmfRecordTypeSetDIBitsToDevice             = EMR_SETDIBITSTODEVIC,
  EmfRecordTypeStretchDIBits                 = EMR_STRETCHDIBITS,
  EmfRecordTypeExtCreateFontIndirect         = EMR_EXTCREATEFONTINDIRECTW,
  EmfRecordTypeExtTextOutA                   = EMR_EXTTEXTOUTA,
  EmfRecordTypeExtTextOutW                   = EMR_EXTTEXTOUTW,
  EmfRecordTypePolyBezier16                  = EMR_POLYBEZIER16,
  EmfRecordTypePolygon16                     = EMR_POLYGON16,
  EmfRecordTypePolyline16                    = EMR_POLYLINE16,
  EmfRecordTypePolyBezierTo16                = EMR_POLYBEZIERTO16,
  EmfRecordTypePolylineTo16                  = EMR_POLYLINETO16,
  EmfRecordTypePolyPolyline16                = EMR_POLYPOLYLINE16,
  EmfRecordTypePolyPolygon16                 = EMR_POLYPOLYGON16,
  EmfRecordTypePolyDraw16                    = EMR_POLYDRAW16,
  EmfRecordTypeCreateMonoBrush               = EMR_CREATEMONOBRUSH,
  EmfRecordTypeCreateDIBPatternBrushPt       = EMR_CREATEDIBPATTERNBRUSHPT,
  EmfRecordTypeExtCreatePen                  = EMR_EXTCREATEPEN,
  EmfRecordTypePolyTextOutA                  = EMR_POLYTEXTOUTA,
  EmfRecordTypePolyTextOutW                  = EMR_POLYTEXTOUTW,
  EmfRecordTypeSetICMMode                    = 98,
  EmfRecordTypeCreateColorSpace              = 99,
  EmfRecordTypeSetColorSpace                 = 100,
  EmfRecordTypeDeleteColorSpace              = 101,
  EmfRecordTypeGLSRecord                     = 102,
  EmfRecordTypeGLSBoundedRecord              = 103,
  EmfRecordTypePixelFormat                   = 104,
  EmfRecordTypeDrawEscape                    = 105,
  EmfRecordTypeExtEscape                     = 106,
  EmfRecordTypeStartDoc                      = 107,
  EmfRecordTypeSmallTextOut                  = 108,
  EmfRecordTypeForceUFIMapping               = 109,
  EmfRecordTypeNamedEscape                   = 110,
  EmfRecordTypeColorCorrectPalette           = 111,
  EmfRecordTypeSetICMProfileA                = 112,
  EmfRecordTypeSetICMProfileW                = 113,
  EmfRecordTypeAlphaBlend                    = 114,
  EmfRecordTypeSetLayout                     = 115,
  EmfRecordTypeTransparentBlt                = 116,
  EmfRecordTypeReserved_117                  = 117,
  EmfRecordTypeGradientFill                  = 118,
  EmfRecordTypeSetLinkedUFIs                 = 119,
  EmfRecordTypeSetTextJustification          = 120,
  EmfRecordTypeColorMatchToTargetW           = 121,
  EmfRecordTypeCreateColorSpaceW             = 122,
  EmfRecordTypeMax                           = 122,
  EmfRecordTypeMin                           = 1,
  EmfPlusRecordTypeInvalid                   = GDIP_EMFPLUS_RECORD_BASE,
  EmfPlusRecordTypeHeader,
  EmfPlusRecordTypeEndOfFile,
  EmfPlusRecordTypeComment,
  EmfPlusRecordTypeGetDC,
  EmfPlusRecordTypeMultiFormatStart,
  EmfPlusRecordTypeMultiFormatSection,
  EmfPlusRecordTypeMultiFormatEnd,
  EmfPlusRecordTypeObject,
  EmfPlusRecordTypeClear,
  EmfPlusRecordTypeFillRects,
  EmfPlusRecordTypeDrawRects,
  EmfPlusRecordTypeFillPolygon,
  EmfPlusRecordTypeDrawLines,
  EmfPlusRecordTypeFillEllipse,
  EmfPlusRecordTypeDrawEllipse,
  EmfPlusRecordTypeFillPie,
  EmfPlusRecordTypeDrawPie,
  EmfPlusRecordTypeDrawArc,
  EmfPlusRecordTypeFillRegion,
  EmfPlusRecordTypeFillPath,
  EmfPlusRecordTypeDrawPath,
  EmfPlusRecordTypeFillClosedCurve,
  EmfPlusRecordTypeDrawClosedCurve,
  EmfPlusRecordTypeDrawCurve,
  EmfPlusRecordTypeDrawBeziers,
  EmfPlusRecordTypeDrawImage,
  EmfPlusRecordTypeDrawImagePoints,
  EmfPlusRecordTypeDrawString,
  EmfPlusRecordTypeSetRenderingOrigin,
  EmfPlusRecordTypeSetAntiAliasMode,
  EmfPlusRecordTypeSetTextRenderingHint,
  EmfPlusRecordTypeSetTextContrast,
  EmfPlusRecordTypeSetGammaValue,
  EmfPlusRecordTypeSetInterpolationMode,
  EmfPlusRecordTypeSetPixelOffsetMode,
  EmfPlusRecordTypeSetCompositingMode,
  EmfPlusRecordTypeSetCompositingQuality,
  EmfPlusRecordTypeSave,
  EmfPlusRecordTypeRestore,
  EmfPlusRecordTypeBeginContainer,
  EmfPlusRecordTypeBeginContainerNoParams,
  EmfPlusRecordTypeEndContainer,
  EmfPlusRecordTypeSetWorldTransform,
  EmfPlusRecordTypeResetWorldTransform,
  EmfPlusRecordTypeMultiplyWorldTransform,
  EmfPlusRecordTypeTranslateWorldTransform,
  EmfPlusRecordTypeScaleWorldTransform,
  EmfPlusRecordTypeRotateWorldTransform,
  EmfPlusRecordTypeSetPageTransform,
  EmfPlusRecordTypeResetClip,
  EmfPlusRecordTypeSetClipRect,
  EmfPlusRecordTypeSetClipPath,
  EmfPlusRecordTypeSetClipRegion,
  EmfPlusRecordTypeOffsetClip,
  EmfPlusRecordTypeDrawDriverString,
  EmfPlusRecordTypeStrokeFillPath,
  EmfPlusRecordTypeSerializableObject,
  EmfPlusRecordTypeSetTSGraphics,
  EmfPlusRecordTypeSetTSClip,
  EmfPlusRecordTotal,
  EmfPlusRecordTypeMax                       = EmfPlusRecordTotal-1,
  EmfPlusRecordTypeMin                       = EmfPlusRecordTypeHeader 
} EmfPlusRecordType;

Constants

WmfRecordTypeSetBkColor
WmfRecordTypeSetBkMode
WmfRecordTypeSetMapMode
WmfRecordTypeSetROP2
WmfRecordTypeSetRelAbs
WmfRecordTypeSetPolyFillMode
WmfRecordTypeSetStretchBltMode
WmfRecordTypeSetTextCharExtra
WmfRecordTypeSetTextColor
WmfRecordTypeSetTextJustification
WmfRecordTypeSetWindowOrg
WmfRecordTypeSetWindowExt
WmfRecordTypeSetViewportOrg
WmfRecordTypeSetViewportExt
WmfRecordTypeOffsetWindowOrg
WmfRecordTypeScaleWindowExt
WmfRecordTypeOffsetViewportOrg
WmfRecordTypeScaleViewportExt
WmfRecordTypeLineTo
WmfRecordTypeMoveTo
WmfRecordTypeExcludeClipRect
WmfRecordTypeIntersectClipRect
WmfRecordTypeArc
WmfRecordTypeEllipse
WmfRecordTypeFloodFill
WmfRecordTypePie
WmfRecordTypeRectangle
WmfRecordTypeRoundRect
WmfRecordTypePatBlt
WmfRecordTypeSaveDC
WmfRecordTypeSetPixel
WmfRecordTypeOffsetClipRgn
WmfRecordTypeTextOut
WmfRecordTypeBitBlt
WmfRecordTypeStretchBlt
WmfRecordTypePolygon
WmfRecordTypePolyline
WmfRecordTypeEscape
WmfRecordTypeRestoreDC
WmfRecordTypeFillRegion
WmfRecordTypeFrameRegion
WmfRecordTypeInvertRegion
WmfRecordTypePaintRegion
WmfRecordTypeSelectClipRegion
WmfRecordTypeSelectObject
WmfRecordTypeSetTextAlign
WmfRecordTypeDrawText
WmfRecordTypeChord
WmfRecordTypeSetMapperFlags
WmfRecordTypeExtTextOut
WmfRecordTypeSetDIBToDev
WmfRecordTypeSelectPalette
WmfRecordTypeRealizePalette
WmfRecordTypeAnimatePalette
WmfRecordTypeSetPalEntries
WmfRecordTypePolyPolygon
WmfRecordTypeResizePalette
WmfRecordTypeDIBBitBlt
WmfRecordTypeDIBStretchBlt
WmfRecordTypeDIBCreatePatternBrush
WmfRecordTypeStretchDIB
WmfRecordTypeExtFloodFill
WmfRecordTypeSetLayout
WmfRecordTypeResetDC
WmfRecordTypeStartDoc
WmfRecordTypeStartPage
WmfRecordTypeEndPage
WmfRecordTypeAbortDoc
WmfRecordTypeEndDoc
WmfRecordTypeDeleteObject
WmfRecordTypeCreatePalette
WmfRecordTypeCreateBrush
WmfRecordTypeCreatePatternBrush
WmfRecordTypeCreatePenIndirect
WmfRecordTypeCreateFontIndirect
WmfRecordTypeCreateBrushIndirect
WmfRecordTypeCreateBitmapIndirect
WmfRecordTypeCreateBitmap
WmfRecordTypeCreateRegion
EmfRecordTypeHeader
EmfRecordTypePolyBezier
EmfRecordTypePolygon
EmfRecordTypePolyline
EmfRecordTypePolyBezierTo
EmfRecordTypePolyLineTo
EmfRecordTypePolyPolyline
EmfRecordTypePolyPolygon
EmfRecordTypeSetWindowExtEx
EmfRecordTypeSetWindowOrgEx
EmfRecordTypeSetViewportExtEx
EmfRecordTypeSetViewportOrgEx
EmfRecordTypeSetBrushOrgEx
EmfRecordTypeEOF
EmfRecordTypeSetPixelV
EmfRecordTypeSetMapperFlags
EmfRecordTypeSetMapMode
EmfRecordTypeSetBkMode
EmfRecordTypeSetPolyFillMode
EmfRecordTypeSetROP2
EmfRecordTypeSetStretchBltMode
EmfRecordTypeSetTextAlign
EmfRecordTypeSetColorAdjustment
EmfRecordTypeSetTextColor
EmfRecordTypeSetBkColor
EmfRecordTypeOffsetClipRgn
EmfRecordTypeMoveToEx
EmfRecordTypeSetMetaRgn
EmfRecordTypeExcludeClipRect
EmfRecordTypeIntersectClipRect
EmfRecordTypeScaleViewportExtEx
EmfRecordTypeScaleWindowExtEx
EmfRecordTypeSaveDC
EmfRecordTypeRestoreDC
EmfRecordTypeSetWorldTransform
EmfRecordTypeModifyWorldTransform
EmfRecordTypeSelectObject
EmfRecordTypeCreatePen
EmfRecordTypeCreateBrushIndirect
EmfRecordTypeDeleteObject
EmfRecordTypeAngleArc
EmfRecordTypeEllipse
EmfRecordTypeRectangle
EmfRecordTypeRoundRect
EmfRecordTypeArc
EmfRecordTypeChord
EmfRecordTypePie
EmfRecordTypeSelectPalette
EmfRecordTypeCreatePalette
EmfRecordTypeSetPaletteEntries
EmfRecordTypeResizePalette
EmfRecordTypeRealizePalette
EmfRecordTypeExtFloodFill
EmfRecordTypeLineTo
EmfRecordTypeArcTo
EmfRecordTypePolyDraw
EmfRecordTypeSetArcDirection
EmfRecordTypeSetMiterLimit
EmfRecordTypeBeginPath
EmfRecordTypeEndPath
EmfRecordTypeCloseFigure
EmfRecordTypeFillPath
EmfRecordTypeStrokeAndFillPath
EmfRecordTypeStrokePath
EmfRecordTypeFlattenPath
EmfRecordTypeWidenPath
EmfRecordTypeSelectClipPath
EmfRecordTypeAbortPath
EmfRecordTypeReserved_069
EmfRecordTypeGdiComment
EmfRecordTypeFillRgn
EmfRecordTypeFrameRgn
EmfRecordTypeInvertRgn
EmfRecordTypePaintRgn
EmfRecordTypeExtSelectClipRgn
EmfRecordTypeBitBlt
EmfRecordTypeStretchBlt
EmfRecordTypeMaskBlt
EmfRecordTypePlgBlt
EmfRecordTypeSetDIBitsToDevice
EmfRecordTypeStretchDIBits
EmfRecordTypeExtCreateFontIndirect
EmfRecordTypeExtTextOutA
EmfRecordTypeExtTextOutW
EmfRecordTypePolyBezier16
EmfRecordTypePolygon16
EmfRecordTypePolyline16
EmfRecordTypePolyBezierTo16
EmfRecordTypePolylineTo16
EmfRecordTypePolyPolyline16
EmfRecordTypePolyPolygon16
EmfRecordTypePolyDraw16
EmfRecordTypeCreateMonoBrush
EmfRecordTypeCreateDIBPatternBrushPt
EmfRecordTypeExtCreatePen
EmfRecordTypePolyTextOutA
EmfRecordTypePolyTextOutW
EmfRecordTypeSetICMMode
EmfRecordTypeCreateColorSpace
EmfRecordTypeSetColorSpace
EmfRecordTypeDeleteColorSpace
EmfRecordTypeGLSRecord
EmfRecordTypeGLSBoundedRecord
EmfRecordTypePixelFormat
EmfRecordTypeDrawEscape
EmfRecordTypeExtEscape
EmfRecordTypeStartDoc
EmfRecordTypeSmallTextOut
EmfRecordTypeForceUFIMapping
EmfRecordTypeNamedEscape
EmfRecordTypeColorCorrectPalette
EmfRecordTypeSetICMProfileA
EmfRecordTypeSetICMProfileW
EmfRecordTypeAlphaBlend
EmfRecordTypeSetLayout
EmfRecordTypeTransparentBlt
EmfRecordTypeReserved_117
EmfRecordTypeGradientFill
EmfRecordTypeSetLinkedUFIs
EmfRecordTypeSetTextJustification
EmfRecordTypeColorMatchToTargetW
EmfRecordTypeCreateColorSpaceW
EmfRecordTypeMax
EmfRecordTypeMin
EmfPlusRecordTypeInvalid
EmfPlusRecordTypeHeader

Identifies a record that is the EMF+ header.

EmfPlusRecordTypeEndOfFile

Identifies a record that marks the last EMF+ record of a metafile.

EmfPlusRecordTypeComment

Graphics::AddMetafileComment

EmfPlusRecordTypeGetDC

Graphics::GetHDC

EmfPlusRecordTypeMultiFormatStart

Identifies the start of a multiple-format block.

EmfPlusRecordTypeMultiFormatSection

Identifies a section in a multiple-format block. Multiple-format records allow the same set of records to be represented in several formats.

EmfPlusRecordTypeMultiFormatEnd

Identifies the end of a multiple-format block.

EmfPlusRecordTypeObject
EmfPlusRecordTypeClear

Graphics::Clear

EmfPlusRecordTypeFillRects

FillRectangles Methods

EmfPlusRecordTypeDrawRects

DrawRectangles Methods

EmfPlusRecordTypeFillPolygon

FillPolygon Methods

EmfPlusRecordTypeDrawLines

DrawLines Methods

EmfPlusRecordTypeFillEllipse

FillEllipse Methods

EmfPlusRecordTypeDrawEllipse

DrawEllipse Methods

EmfPlusRecordTypeFillPie

FillPie Methods

EmfPlusRecordTypeDrawPie

DrawPie Methods

EmfPlusRecordTypeDrawArc

DrawArc Methods

EmfPlusRecordTypeFillRegion

Graphics::FillRegion

EmfPlusRecordTypeFillPath

Graphics::FillPath

EmfPlusRecordTypeDrawPath

Graphics::DrawPath

EmfPlusRecordTypeFillClosedCurve

FillClosedCurve Methods

EmfPlusRecordTypeDrawClosedCurve

DrawClosedCurve Methods

EmfPlusRecordTypeDrawCurve

DrawCurve Methods

EmfPlusRecordTypeDrawBeziers

DrawBeziers Methods

EmfPlusRecordTypeDrawImage

DrawImage Methods (all methods that do not receive an array of destination points)

EmfPlusRecordTypeDrawImagePoints

DrawImage Methods (all methods that receive an array of destination points)

EmfPlusRecordTypeDrawString

DrawString Methods

EmfPlusRecordTypeSetRenderingOrigin

Graphics::SetRenderingOrigin

EmfPlusRecordTypeSetAntiAliasMode

Graphics::SetSmoothingMode

EmfPlusRecordTypeSetTextRenderingHint

Graphics::SetTextRenderingHint

EmfPlusRecordTypeSetTextContrast

Graphics::SetTextContrast

EmfPlusRecordTypeSetGammaValue
EmfPlusRecordTypeSetInterpolationMode

Graphics::SetInterpolationMode

EmfPlusRecordTypeSetPixelOffsetMode

Graphics::SetPixelOffsetMode

EmfPlusRecordTypeSetCompositingMode

Graphics::SetCompositingMode

EmfPlusRecordTypeSetCompositingQuality

Graphics::SetCompositingQuality

EmfPlusRecordTypeSave

Graphics::Save

EmfPlusRecordTypeRestore

Graphics::Restore

EmfPlusRecordTypeBeginContainer

Graphics::BeginContainer

EmfPlusRecordTypeBeginContainerNoParams

Graphics::BeginContainer

EmfPlusRecordTypeEndContainer

Graphics::EndContainer

EmfPlusRecordTypeSetWorldTransform

Graphics::SetTransform

EmfPlusRecordTypeResetWorldTransform

Graphics::ResetTransform

EmfPlusRecordTypeMultiplyWorldTransform

Graphics::MultiplyTransform

EmfPlusRecordTypeTranslateWorldTransform

Graphics::TranslateTransform

EmfPlusRecordTypeScaleWorldTransform

Graphics::ScaleTransform

EmfPlusRecordTypeRotateWorldTransform

Graphics::RotateTransform

EmfPlusRecordTypeSetPageTransform

Graphics::SetPageScale and Graphics::SetPageUnit

EmfPlusRecordTypeResetClip

Graphics::ResetClip

EmfPlusRecordTypeSetClipRect

Graphics::SetClip and Graphics::SetClip

EmfPlusRecordTypeSetClipPath

Graphics::SetClip

EmfPlusRecordTypeSetClipRegion

Graphics::SetClip

EmfPlusRecordTypeOffsetClip

TranslateClip Methods

EmfPlusRecordTypeDrawDriverString

Graphics::DrawDriverString

EmfPlusRecordTypeStrokeFillPath
EmfPlusRecordTypeSerializableObject
EmfPlusRecordTypeSetTSGraphics
EmfPlusRecordTypeSetTSClip
EmfPlusRecordTotal
EmfPlusRecordTypeMax
EmfPlusRecordTypeMin

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

GDI+ 1.1

Header

Gdiplusenums.h (include Gdiplus.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show: