EmfRecordType Enumeration

The RecordType enumeration defines values that uniquely identify EMF records.
These values are provided in the Type field of each record.

Module: aspose.imaging.fileformats.emf.emf.consts

Full Name: aspose.imaging.fileformats.emf.emf.consts.EmfRecordType

Members

Member nameDescription
EMR_ABORTPATHThis record aborts a path bracket or discards the path from a closed path bracket.
EMR_ALPHABLENDThis record specifies a block transfer of pixels from a source bitmap to a destination rectangle,
including alpha transparency data, according to a specified blending operation.
EMR_ANGLEARCThis record defines a line segment of an arc. The line segment is drawn from the
current position to the beginning of the arc. The arc is drawn along the perimeter
of a circle with the given radius and center. The length of the arc is defined by
the given start and sweep angles.
EMR_ARCThis record defines an elliptical arc.
EMR_ARCTOThis record defines an elliptical arc. It resets the current position to the
end point of the arc.
EMR_BEGINPATHThis record opens a path bracket in the playback device context.
EMR_BITBLTThis record specifies a block transfer of pixels from a source bitmap to a destination
rectangle, optionally in combination with a brush pattern, according to a specified raster operation.
EMR_CHORDThis record defines a chord (a region bounded by the intersection of an ellipse
and a line segment, called a secant). The chord is outlined by using the current
pen and filled by using the current brush.
EMR_CLOSEFIGUREThis record closes an open figure in a path.
EMR_COLORCORRECTPALETTEThis record specifies how to correct the entries of a logical palette object using Windows
Color System (WCS) 1.0 values
EMR_COLORMATCHTOTARGETWThis record specifies whether to perform color matching with a color profile that is specified in a file with a name consisting of Unicode characters.
EMR_COMMENTThis record specifies arbitrary private data.
EMR_CREATEBRUSHINDIRECTThis record defines a logical brush for figure filling in graphics operations.
EMR_CREATECOLORSPACEThis record creates a logical color space object from a color profile with a name consisting of ASCII characters
EMR_CREATECOLORSPACEWThis record creates a logical color space object from a color profile with a name consisting of Unicode characters
EMR_CREATEDIBPATTERNBRUSHPTThis record defines a logical brush that has the pattern specified by the DIB.
EMR_CREATEMONOBRUSHThis record defines a logical brush with the specified bitmap pattern. The bitmap can
be a device-independent bitmap (DIB) section bitmap or it can be a device-dependent bitmap.
EMR_CREATEPALETTEThis record defines a LogPalette object.
EMR_CREATEPENThis record defines a logical pen that has the specified style, width, and color.
The pen can subsequently be selected into the playback device context and used to draw lines and curves.
EMR_DELETECOLORSPACEThis record deletes a logical color space object. Note An EMR_DELETEOBJECT record SHOULD be
used instead of EMR_DELETECOLORSPACE to delete a logical color space object
EMR_DELETEOBJECTThis record deletes a graphics object, clearing its index in the EMF Object Table.
If the deleted object is selected in the playback device context, the default object
for that context property MUST be restored.
EMR_DRAWESCAPEThis record passes arbitrary information to the driver. The intent is that the information
will result in drawing being done.
EMR_ELLIPSEThis record defines an ellipse. The center of the ellipse is the center of the
specified bounding rectangle. The ellipse is outlined by using the current pen and
is filled by using the current brush.
EMR_ENDPATHThis record closes a path bracket and selects the path defined by the bracket
into the playback device context.
EMR_EOFThis record indicates the end of the metafile.
EMR_EXCLUDECLIPRECTThis record defines a new clipping region that consists of the existing clipping region
minus the specified rectangle.
EMR_EXTCREATEFONTINDIRECTWThis record defines a logical font that has the specified characteristics. The font
can subsequently be selected as the current font for the playback device context.
EMR_EXTCREATEPENThis record defines a logical cosmetic or geometric pen that has the specified style,
width, and brush attributes.
EMR_EXTESCAPEThis record passes arbitrary information to the driver. The intent is that the information
will not result in drawing being done.
EMR_EXTFLOODFILLThis record fills an area of the display surface with the current brush.
EMR_EXTSELECTCLIPRGNThis record combines the specified region with the current clip region using the
specified mode.
EMR_EXTTEXTOUTAThis record draws an ASCII text string using the current font and text colors.Note
EMR_EXTTEXTOUTA SHOULD be emulated with an EMR_EXTTEXTOUTW record (section 2.3.5.8).
This requires the ASCII text string in the EmrText object to be converted to Unicode UTF16-LE encoding.
EMR_EXTTEXTOUTWThis record draws a Unicode text string using the current font and text colors.
EMR_FILLPATHThis record closes any open figures in the current path and fills the path’s interior
by using the current brush and polygon-filling mode.
EMR_FILLRGNThis record fills the specified region by using the specified brush.
EMR_FLATTENPATHThis record transforms any curve in the path that is selected into the playback device
context, turning each curve into a sequence of lines.
EMR_FORCEUFIMAPPINGThis record forces the font mapper to match fonts based on their UniversalFontId in
preference to their LogFont information.
EMR_FRAMERGNThis record draws a border around the specified region using the specified brush.
EMR_GLSBOUNDEDRECORDThis record specifies an OpenGL function with a bounding rectangle for output.
EMR_GLSRECORDThis record specifies an OpenGL function.
EMR_GRADIENTFILLThis record specifies filling rectangles or triangles with gradients of color
EMR_HEADERThis record defines the start of the metafile and specifies its characteristics; its contents,
including the dimensions of the embedded image; the number of records in the metafile; and the
resolution of the device on which the embedded image was created. These values make it possible for the metafile to be device-independent.
EMR_INTERSECTCLIPRECTThis record defines a new clipping region from the intersection of the current clipping
region and the specified rectangle.
EMR_INVERTRGNThis record inverts the colors in the specified region.
EMR_LINETOThis record defines a line from the current position up to, but not including,
the specified point. It resets the current position to the specified point.
EMR_MASKBLTThis record specifies a block transfer of pixels from a source bitmap to a destination
rectangle, optionally in combination with a brush pattern and with the application of a
color mask bitmap, according to specified foreground and background raster operations.
EMR_MODIFYWORLDTRANSFORMThis record redefines the world transformation for the playback device context using the specified mode.
EMR_MOVETOEXThis record defines coordinates of the new current position, in logical units.
EMR_NAMEDESCAPEThis record passes arbitrary information to the given named driver.
EMR_OFFSETCLIPRGNThis record redefines the clipping region of the playback device context by the specified offsets.
EMR_PAINTRGNThis record paints the specified region by using the brush currently selected into
the playback device context.
EMR_PIEThis record defines a pie-shaped wedge bounded by the intersection of an ellipse
and two radials. The pie is outlined by using the current pen and filled by using
the current brush.
EMR_PIXELFORMATThis record specifies the pixel format to use for graphics operations
EMR_PLGBLTThis record specifies a block transfer of pixels from a source bitmap to a destination
parallelogram, with the application of a color mask bitmap.
EMR_POLYBEZIERThis record defines one or more Bezier curves. Cubic Bezier curves are defined using
specified endpoints and control points, and are stroked with the current pen.
EMR_POLYBEZIER16This record defines one or more Bezier curves. The curves are drawn using the current pen.
EMR_POLYBEZIERTOThis record defines one or more Bezier curves based upon the current position.
EMR_POLYBEZIERTO16This record defines one or more Bezier curves based on the current position.
EMR_POLYDRAWThis record defines a set of line segments and Bezier curves.
EMR_POLYDRAW16This record defines a set of line segments and Bezier curves.
EMR_POLYGONThis record defines a polygon consisting of two or more vertexes connected by straight
lines. The polygon is outlined by using the current pen and filled by using the current brush
and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.
EMR_POLYGON16This record defines a polygon consisting of two or more vertexes connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon
fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.
EMR_POLYLINEThis record defines a series of line segments by connecting the points in the specified
array.
EMR_POLYLINE16This record defines a series of line segments by connecting the points in the specified array.
EMR_POLYLINETOThis record defines one or more straight lines based upon the current position.
A line is drawn from the current position to the first point specified by the points field
by using the current pen. For each additional line, drawing is performed from the ending
point of the previous line to the next point specified by points.
EMR_POLYLINETO16This record defines one or more straight lines based upon the current position.
A line is drawn from the current position to the first point specified by the Points
field by using the current pen. For each additional line, drawing is performed from the
ending point of the previous line to the next point specified by Points.
EMR_POLYPOLYGONThis record defines a series of closed polygons. Each polygon is outlined by using the
current pen and filled by using the current brush and polygon fill mode. The polygons defined by this record can overlap.
EMR_POLYPOLYGON16This record defines a series of closed polygons. Each polygon is outlined by using
the current pen and filled by using the current brush and polygon fill mode. The polygons
specified by this record can overlap.
EMR_POLYPOLYLINEThis record defines multiple series of connected line segments. The line segments are
drawn by using the current pen. The figures formed by the segments are not filled. T
he current position is neither used nor updated by this record.
EMR_POLYPOLYLINE16This record defines multiple series of connected line segments.
EMR_POLYTEXTOUTAThis record draws one or more ASCII text strings using the current font and text colors.
Note EMR_POLYTEXTOUTA SHOULD be emulated with a series of EMR_EXTTEXTOUTW records, one per string
EMR_POLYTEXTOUTWThis record draws one or more Unicode text strings using the current font and text colors.
Note EMR_POLYTEXTOUTW SHOULD be emulated with a series of EMR_EXTTEXTOUTW records, one per string
EMR_REALIZEPALETTEThis record maps entries from the current logical palette to the system palette.
EMR_RECTANGLEThis record defines a rectangle. The rectangle is outlined by using the current
pen and filled by using the current brush.
EMR_RESIZEPALETTEThis record increases or decreases the size of a logical palette.
EMR_RESTOREDCThis record restores the playback device context to the specified saved state.
The playback device context is restored by popping state information off a stack of
saved device contexts created by earlier EMR_SAVEDC (section 2.3.11) records.
EMR_ROUNDRECTThis record defines a rectangle with rounded corners. The rectangle is outlined
by using the current pen and filled by using the current brush.
EMR_SAVEDCThis record saves the current state of the playback device context by copying data
describing selected objects and graphic modes—including the bitmap, brush, palette,
font, pen, region, drawing mode, and mapping mode—to a stack of saved device contexts.
EMR_SCALEVIEWPORTEXTEXThis record redefines the viewport for the playback device context using the ratios
formed by the specified multiplicands and divisors.
EMR_SCALEWINDOWEXTEXThis record redefines the window for the playback device context using the ratios formed
by the specified multiplicands and divisors.
EMR_SELECTCLIPPATHThis record defines the current path as a clipping region for the playback device
context, combining the new region with any existing clipping region using the specified mode.
EMR_SELECTOBJECTThis record adds an object to the playback device context, identifying it by its
index in the EMF Object Table (section 3.1.1.1).
EMR_SELECTPALETTEThis record adds a LogPalette (section 2.2.17) object to the playback device
context, identifying it by its index in the EMF Object Table.
EMR_SETARCDIRECTIONThis record defines the drawing direction to be used for arc and rectangle
operations.
EMR_SETBKCOLORThis record defines the background color.
EMR_SETBKMODEThis record defines the background mix mode of the playback device context. The background mix
mode is used with text, hatched brushes, and pen styles that are not solid lines.
EMR_SETBRUSHORGEXThis record defines the origin of the current brush.
EMR_SETCOLORADJUSTMENTThis record defines the color adjustment values for the playback device context using the specified values.
EMR_SETCOLORSPACEThis record defines the current logical color space object for graphics operations.
EMR_SETDIBITSTODEVICEThis record specifies a block transfer of pixels from specified scan lines of a source
bitmap to a destination rectangle.
EMR_SETICMMODEThis record specifies the mode of Image Color Management (ICM) for graphics operations.
EMR_SETICMPROFILEAThis record specifies a color profile in a file with a name consisting of ASCII characters,
for graphics output.
EMR_SETICMPROFILEWThis record specifies a color profile in a file with a name consisting of Unicode characters,
for graphics output
EMR_SETLAYOUTThis record specifies the order in which text and graphics are drawn
EMR_SETLINKEDUFISThis record sets the UniversalFontIds of linked fonts to use during character lookup.
EMR_SETMAPMODEThis record defines the mapping mode of the playback device context. The mapping mode
defines the unit of measure used to transform page space units into device space units,
and also defines the orientation of the device’s x-axis and y-axis.
EMR_SETMAPPERFLAGSThis record specifies parameters of the process of matching logical fonts to physical
fonts, which is performed by the font mapper.
EMR_SETMETARGNThis record intersects the current clipping region for the playback device context with the
current meta region and saves the combined region as the new meta region. The clipping region is reset to a null region.
EMR_SETMITERLIMITThis record defines the limit for the length of miter joins for the playback
device context.
EMR_SETPALETTEENTRIESThis record defines RGB (red-green-blue) color values in a range of entries
in a LogPalette object.
EMR_SETPIXELVThis record defines the color of the pixel at the specified logical coordinates.
EMR_SETPOLYFILLMODEThis record defines polygon fill mode.
EMR_SETROP2This record defines binary raster operation mode.
EMR_SETSTRETCHBLTMODEThis record defines bitmap stretch mode.
EMR_SETTEXTALIGNThis record defines text alignment.
EMR_SETTEXTCOLORThis record defines the current text color.
EMR_SETTEXTJUSTIFICATIONThis record specifies the amount of extra space to add to break characters for justification
purposes.
EMR_SETVIEWPORTEXTEXThis record defines the viewport extent.
EMR_SETVIEWPORTORGEXThis record defines the viewport origin.
EMR_SETWINDOWEXTEXThis record defines the window extent.
EMR_SETWINDOWORGEXThis record defines the window origin.
EMR_SETWORLDTRANSFORMThis record defines a two-dimensional linear transformation between world space and
page space (for more information, see [MSDN-WRLDPGSPC]) for the playback device context.
This transformation can be used to scale, rotate, shear, or translate graphics output.
EMR_SMALLTEXTOUTThis record outputs a string.
EMR_STRETCHBLTThis record specifies a block transfer of pixels from a source bitmap to a destination
rectangle, optionally in combination with a brush pattern, according to a specified raster
operation, stretching or compressing the output to fit the dimensions of the destination, if necessary.
EMR_STRETCHDIBITSThis record specifies a block transfer of pixels from a source bitmap to a destination
rectangle, optionally in combination with a brush pattern, according to a specified raster operation,
stretching or compressing the output to fit the dimensions of the destination, if necessary.
EMR_STROKEANDFILLPATHThis record closes any open figures in a path, strokes the outline of the path by
using the current pen, and fills its interior by using the current brush.
EMR_STROKEPATHThis record renders the specified path by using the current pen.
EMR_TRANSPARENTBLTThis record specifies a block transfer of pixels from a source bitmap to a destination rectangle,
treating a specified color as transparent, stretching or compressing the output to fit the dimensions of the destination, if necessary
EMR_WIDENPATHThis record redefines the current path as the area that would be painted if the path
were stroked using the pen currently selected into the playback device context.