Click or drag to resize
Aspose.Imaging.FileFormats.Emf.Emf.Records Namespace
The namespace contains types [MS-EMF]: Enhanced Metafile Format. 2.3 EMF Records
Classes
  ClassDescription
Public classEmfAbortPath
This record aborts a path bracket or discards the path from a closed path bracket.
Public classEmfAlphaBlend
The EMR_ALPHABLEND 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.
Public classEmfAngleArc
The EMR_ANGLEARC record specifies 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
Public classEmfArc
The EMR_ARC record specifies an elliptical arc.
Public classEmfArcTo
The EMR_ARCTO record specifies an elliptical arc. It resets the current position to the end point of the arc.
Public classEmfBeginPath
This record opens a path bracket in the current playback device context. After a path bracket is open, an application can begin processing records to define the points that lie in the path.An application MUST close an open path bracket by processing the EMR_ENDPATH record. When an application processes the EMR_BEGINPATH record, all previous paths MUST be discarded from the playback device context.
Public classEmfBitBlt
The EMR_BITBLT 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.
Public classEmfBitmapRecordType
The bitmap record types perform block transfers of bitmap images.
Public classEmfChord
The EMR_CHORD record specifies a chord, which is 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.
Public classEmfClippingRecordType
The clipping record types specify and manage clipping regions. Note The EMR_SETMETARGN record does not specify parameters.
Public classEmfCloseFigure
This record closes an open figure in a path. Processing the EMR_CLOSEFIGURE record MUST close the figure by drawing a line from the current position to the first point of the figure, and then it MUST connect the lines by using the line join style.If a figure is closed by processing the EMR_LINETO record instead of the EMR_CLOSEFIGURE record, end caps are used to create the corner instead of a join.EMR_LINETO is specified in section 2.3.5.13. The EMR_CLOSEFIGURE record SHOULD only be used if there is an open path bracket in the playback device context. A figure in a path is open unless it is explicitly closed by processing this record.
Public classEmfColorCorrectPalette
The EMR_COLORCORRECTPALETTE record specifies how to correct the entries of a logical palette object using WCS 1.0 values.
Public classEmfColorMatchToTargetW
The EMR_COLORMATCHTOTargetW record specifies whether to perform color matching with a color profile that is specified in a file with a name consisting of Unicode characters.
Public classEmfComment
The EMR_COMMENT record contains arbitrary private data. Note Fields that are not described in this section are specified in section 2.3.3.
Public classEmfCommentBeginGroup
The EMR_COMMENT_BEGINGROUP record specifies the beginning of a group of drawing records.
Public classEmfCommentEmfPlus
The EMR_COMMENT_EMFPLUS record contains embedded EMF+ records. Note Fields that are not described in this section are specified in section 2.3.3.
Public classEmfCommentEmfSpool
The EMR_COMMENT_EMFSPOOL record contains embedded EMFSPOOL records. Note Fields that are not described in this section are specified in section 2.3.3.
Public classEmfCommentEndGroup
The EMR_COMMENT_ENDGROUP record specifies the end of a group of drawing records.
Public classEmfCommentMultiFormats
The EMR_COMMENT_MULTIFORMATS record specifies an image in multiple graphics formats.
Public classEmfCommentPublicRecordType
The EMR_COMMENT_PUBLIC record types specify extensions to EMF processing.
Public classEmfCommentRecordType
The comment record types define formats for specifying arbitrary private data, embedding records in other metafile formats, and adding new or special-purpose commands.
Public classEmfCommentWindowsMetaFile
The EMR_COMMENT_WINDOWS_METAFILE record specifies an image in an embedded WMF metafile.
Public classEmfControlRecordType
The control record types define the start and end of an EMF metafile and properties of the metafile.
Public classEmfCreateBrushIndirect
The EMR_CREATEBRUSHINDIRECT record defines a logical brush for graphics operations.
Public classEmfCreateColorSpace
The EMR_CREATECOLORSPACE record creates a logical color space object from a color profile with a name consisting of ASCII characters.
Public classEmfCreateColorSpaceW
The EMR_CREATECOLORSPACEW record creates a logical color space object from a color profile with a name consisting of Unicode characters.
Public classEmfCreateDibPatternBrushPt
The EMR_CREATEDIBPATTERNBRUSHPT record defines a pattern brush for graphics operations. The pattern is specified by a DIB.
Public classEmfCreateMonoBrush
The EMR_CREATEMONOBRUSH record defines a monochrome pattern brush for graphics operations. The pattern is specified by a monochrome DIB.
Public classEmfCreatePalette
The EMR_CREATEPALETTE record defines a logical palette for graphics operations.
Public classEmfCreatePen
The EMR_CREATEPEN record defines a logical pen for graphics operations.
Public classEmfDeleteColorSpace
The EMR_DELETECOLORSPACE record deletes a logical color space object.
Public classEmfDeleteObject
The EMR_DELETEOBJECT record deletes a graphics object, which is specified by its index in the EMF Object Table(section 3.1.1.1).
Public classEmfDrawEscape
The EMR_DRAWESCAPE record passes arbitrary information to a printer driver. The intent is that the information will result in drawing being done.
Public classEmfDrawingRecordType
The drawing record types perform graphics drawing.
Public classEmfEllipse
The EMR_ELLIPSE record specifies 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.
Public classEmfEndPath
This record closes a path bracket and selects the path defined by the bracket into the playback device context.
Public classEmfEof
The EMR_EOF record indicates the end of the metafile and specifies a palette.
Public classEmfEscapeRecordType
The escape record types execute printer driver functions.
Public classEmfExcludeClipRect
The EMR_EXCLUDECLIPRECT record specifies a new clipping region that consists of the existing clipping region minus the specified rectangle. Note Fields that are not described in this section are specified in section 2.3.2.
Public classEmfExtCreateFontIndirectW
The EMR_EXTCREATEFONTINDIRECTW record defines a logical font for graphics operations.
Public classEmfExtCreatePen
The EMR_EXTCREATEPEN record defines an extended logical pen for graphics operations. An optional DIB can be specified to use as the line style.
Public classEmfExtEscape
The EMR_EXTESCAPE record passes arbitrary information to a printer driver. The intent is that the information will not result in drawing being done.
Public classEmfExtFloodFill
The EMR_EXTFLOODFILL record fills an area of the display surface with the current brush
Public classEmfExtSelectClipRgn
The EMR_EXTSELECTCLIPRGN record combines the specified region with the current clip region using the specified mode. Note Fields that are not described in this section are specified in section 2.3.2.
Public classEmfExtTextOutA
The EMR_EXTTEXTOUTA record draws an ASCII text string using the current font and text colors.
Public classEmfExtTextOutW
The EMR_EXTTEXTOUTW record draws an ASCII text string using the current font and text colors.
Public classEmfFillPath
The EMR_FILLPATH record closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode.
Public classEmfFillRgn
The EMR_FILLRGN record fills the specified region by using the specified brush.
Public classEmfFlatternPath
This record transforms any curves in the selected path into the playback device context; each curve MUST be turned into a sequence of lines.
Public classEmfForceUfiMapping
The EMR_FORCEUFIMAPPING record forces the font mapper to match fonts based on their UniversalFontId in preference to their LogFont (section 2.2.13) information.
Public classEmfFrameRgn
The EMR_FRAMERGN record draws a border around the specified region using the specified brush.
Public classEmfGlsBoundedRecord
The EMR_GLSBOUNDEDRECORD record specifies an OpenGL function with a bounding rectangle for output.
Public classEmfGlsRecord
The EMR_GLSRECORD record specifies an OpenGL function.
Public classEmfGradientFill
The EMR_GRADIENTFILL record specifies filling rectangles or triangles with gradients of color.
Public classEmfIntersectClipRect
The EMR_INTERSECTCLIPRECT record specifies a new clipping region from the intersection of the current clipping region and the specified rectangle. Note Fields that are not described in this section are specified in section 2.3.2.
Public classEmfInvertRgn
The EMR_INVERTRGN record inverts the colors in the specified region.
Public classEmfLineTo
The EMR_LINETO record specifies a line from the current position up to, but not including, the specified point.It resets the current position to the specified point.
Public classEmfMaskBlt
The EMR_MASKBLT 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.
Public classEmfMetafileHeader
The EMR_HEADER record types define the starting points of EMF metafiles and specify properties of the device on which the image in the metafile was created. The information in the header record makes it possible for EMF metafiles to be independent of any specific output device. The value of the Size field can be used to distinguish between the different EMR_HEADER record types listed earlier in this section. There are three possible headers: The base header, which is the EmfMetafileHeader record. The fixed-size part of this header is 88 bytes, and it contains a Header object. The first extension header, which is the EmfMetafileHeaderExtension1 record. The fixed-size part of this header is 100 bytes, and it contains a Header object and a HeaderExtension1 object (section 2.2.10). The second extension header, which is the EmfMetafileHeaderExtension2 record. The fixed-size part of this header is 108 bytes, and it contains a Header object, a HeaderExtension1 object, and a HeaderExtension2 object (section 2.2.11).
Public classEmfMetafileHeaderExtension1
The EmfMetafileHeaderExtension1 record is the header record used in the first extension to EMF metafiles. Following the EmfHeaderExtension1 field, the remaining fields are optional and can be present in any order.
Public classEmfMetafileHeaderExtension2
The EmfMetafileHeaderExtension2 record is the header record used in the second extension to EMF metafiles. Following the EmfHeaderExtension2 field, the remaining fields are optional and can be present in any order.
Public classEmfModifyWorldTransform
The EMR_MODIFYWORLDTRANSFORM record modifies the current world-space to page-space transform in the playback device context.
Public classEmfMoveToEx
The EMR_MOVETOEX record specifies coordinates of the new current position, in logical units.
Public classEmfNamedEscape
The MR_NAMEDESCAPE record passes arbitrary information to a specified printer driver.
Public classEmfObjectCreationRecordType
The object creation record types create graphics objects.
Public classEmfObjectManipulationRecordType
The object manipulation record types manage and modify graphics objects.
Public classEmfOffsetClipRgn
The EMR_OFFSETCLIPRGN record moves the current clipping region in the playback device context by the specified offsets.
Public classEmfOpenGlRecordType
The OpenGL record types specify OpenGL functions.
Public classEmfPaintRgn
The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the playback device context.
Public classEmfPathBracketRecordType
The path bracket record types specify and manipulate paths in path brackets. Note: None of the path bracket records specify parameters.
Public classEmfPie
The EMR_PIE record specifies 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.
Public classEmfPixelFormat
The EMR_PIXELFORMAT record specifies the pixel format to use for graphics operations.
Public classEmfPlgBlt
The EMR_PLGBLT record specifies a block transfer of pixels from a source bitmap to a destination parallelogram, with the application of a color mask bitmap.
Public classEmfPolyBezier
The EMR_POLYBEZIER record specifies one or more Bezier curves.
Public classEmfPolyBezier16
The EMR_POLYBEZIER16 record specifies one or more Bezier curves. The curves are drawn using the current pen.
Public classEmfPolyBezierTo
The EMR_POLYBEZIERTO record specifies one or more Bezier curves based upon the current position.
Public classEmfPolyBezierTo16
The EMR_POLYBEZIERTO16 record specifies one or more Bezier curves based on the current position.
Public classEmfPolyDraw
The EMR_POLYDRAW record specifies a set of line segments and Bezier curves.
Public classEmfPolyDraw16
The EMR_POLYDRAW16 record specifies a set of line segments and Bezier curves.
Public classEmfPolygon
The EMR_POLYGON record specifies a polygon consisting of two or more vertexes connected by straight lines.
Public classEmfPolygon16
The EMR_POLYGON16 record specifies 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.
Public classEmfPolyline
The EMR_POLYLINE record specifies a series of line segments by connecting the points in the specified array.
Public classEmfPolyline16
The EMR_POLYLINE16 record specifies a series of line segments by connecting the points in the specified array.
Public classEmfPolylineTo
The EMR_POLYLINETO record specifies one or more straight lines based upon the current position.
Public classEmfPolylineTo16
The EMR_POLYLINETO16 record specifies 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 aPoints 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 aPoints.
Public classEmfPolyPolygon
The EMR_POLYPOLYGON record specifies a series of closed polygons.
Public classEmfPolyPolygon16
The EMR_POLYPOLYGON16 record specifies a series of closed polygons. Each polygon is outlined using the current pen, and filled using the current brush and polygon fill mode. The polygons drawn by this record can overlap.
Public classEmfPolyPolyline
The EMR_POLYPOLYLINE record specifies multiple series of connected line segments.
Public classEmfPolyPolyline16
The EMR_POLYPOLYLINE16 record specifies multiple series of connected line segments.
Public classEmfPolyTextOutA
The EMR_POLYTEXTOUTA record draws one or more ASCII text strings using the current font and text colors.
Public classEmfPolyTextOutW
The EMR_POLYTEXTOUTW record draws one or more Unicode text strings using the current font and text colors.
Public classEmfRealizePalette
This record maps palette entries from the current LogPalette object (section 2.2.17) to the system_palette. This EMF record specifies no parameters.
Public classEmfRecord
Base class for EMF records All EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in the generic structures of the preceding EMF record types by including AlignmentPadding fields where appropriate at the ends of these structures. The contents of AlignmentPadding fields MUST always be ignored. For brevity, these fields are not shown in every individual EMF record definition.
Public classEmfRectangle
The EMR_RECTANGLE record draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
Public classEmfResizePalette
The EMR_RESIZEPALETTE record increases or decreases the size of an existing LogPalette object (section 2.2.17).
Public classEmfRestoreDc
The EMR_RESTOREDC record restores the playback device context to the specified state. The playback device context is restored by popping state information off a stack that was created by prior EMR_SAVEDC records (section 2.3.11).
Public classEmfRop4
A quaternary raster operation, which specifies ternary raster operations for the foreground and background colors of a bitmap. These values define how the color data of the source rectangle is to be combined with the color data of the destination rectangle.
Public classEmfRoundRect
The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.
Public classEmfSaveDc
Saves the current state of playback device context on a stack of states saved by preceding EMR_SAVEDC records, if any. The state consists of graphics properties and objects, including the currently selected bitmap, brush, palette, font, pen, and region. An EMR_RESTOREDC record is used to restore the state. This EMF record specifies no parameters.
Public classEmfScaleViewportExtex
The EMR_SCALEVIEWPORTEXTEX record respecifies the viewport for a device context by using the ratios formed by the specified multiplicands and divisors.
Public classEmfScaleWindowExtex
The EMR_SCALEWINDOWEXTEX record respecifies the window for a playback device context by using the ratios formed by the specified multiplicands and divisors.
Public classEmfSelectClipPath
The EMR_SELECTCLIPPATH record specifies the current path as a clipping region for a playback device context, combining the new region with any existing clipping region using the specified mode.
Public classEmfSelectObject
The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device context. The object is specified either by its index in the EMF Object Table(section 3.1.1.1) or by its value from the StockObject enumeration(section 2.1.31).
Public classEmfSelectPalette
The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.
Public classEmfSetArcDirection
The EMR_SETARCDIRECTION record specifies the drawing direction to be used for arc and rectangle output.
Public classEmfSetBkColor
The EMR_SETBKCOLOR record specifies the background color.
Public classEmfSetBkMode
The EMR_SETBKMODE record specifies 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.
Public classEmfSetBrushOrgEx
The EMR_SETBRUSHORGEX record specifies the origin of the current brush.
Public classEmfSetColorAdjustment
The EMR_SETCOLORADJUSTMENT record specifies color adjustment properties in the playback device context.
Public classEmfSetColorSpace
The EMR_SETCOLORSPACE record defines the current logical color space object for graphics operations.
Public classEmfSetDiBitsToDevice
The EMR_SETDIBITSTODEVICE record specifies a block transfer of pixels from specified scan lines of a source bitmap to a destination rectangle.
Public classEmfSetIcmMode
The EMR_SETICMMODE record specifies the mode of Image Color Management (ICM) for graphics operations.
Public classEmfSetIcmProfileA
The EMR_SETICMPROFILEA record specifies a color profile in a file with a name consisting of ASCII characters, for graphics output.
Public classEmfSetIcmProfileW
The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output.
Public classEmfSetLayout
The EMR_SETLAYOUT record specifies the order in which text and graphics are drawn.
Public classEmfSetLinkedUfis
The EMR_SETLINKEDUFIS record sets the UniversalFontIds (section 2.2.27) of the linked fonts to use during character lookup.
Public classEmfSetMapMode
The EMR_SETMAPMODE record specifies the mapping mode of the playback device context. The mapping mode specifies the unit of measure used to transform page space units into device space units, and also specifies the orientation of the device's x-axis and y-axis.
Public classEmfSetMapperFlags
The EMR_SETMAPPERFLAGS record specifies parameters of the process of matching logical fonts to physical fonts, which is performed by the font mapper.
Public classEmfSetMetaRgn
Inter sets the current meta region with the current clipping region to form a new meta region for the playback device context. The current clipping region SHOULD be reset to null. This EMF record specifies no parameters.
Public classEmfSetMiterLimit
The EMR_SETMITERLIMIT record specifies the limit for the length of miter joins for the playback device context.
Public classEmfSetPaletteEntries
The EMR_SETPALETTEENTRIES record defines RGB color values in a range of entries for an existing LogPalette (section 2.2.17) object.
Public classEmfSetPixelV
The EMR_SETPIXELV record defines the color of the pixel at the specified logical coordinates.
Public classEmfSetPolyFillMode
The EMR_SETPOLYFILLMODE record defines polygon fill mode.
Public classEmfSetRop2
The EMR_SETROP2 record defines a binary raster operation mode.
Public classEmfSetStrechBltMode
The EMR_SETSTRETCHBLTMODE record specifies bitmap stretch mode.
Public classEmfSetTextAlign
The EMR_SETTEXTALIGN record specifies text alignment.
Public classEmfSetTextColor
The EMR_SETTEXTCOLOR record defines the current text color.
Public classEmfSetTextJustification
The EMR_SETTEXTJUSTIFICATION record specifies the amount of extra space to add to break characters for text justification.
Public classEmfSetViewportExtEx
The EMR_SETVIEWPORTEXTEX record defines the viewport extent.
Public classEmfSetViewportOrgEx
The EMR_SETVIEWPORTORGEX record defines the viewport origin.
Public classEmfSetWindowExtEx
The EMR_SETWINDOWEXTEX record defines the window extent.
Public classEmfSetWindowOrgEx
The EMR_SETWINDOWORGEX record defines the window origin.
Public classEmfSetWorldTransform
The EMR_SETWORLDTRANSFORM record specifies a transform for the current world-space to page space transform in the playback device context.
Public classEmfSmallTextOut
The EMR_SMALLTEXTOUT record outputs a string.
Public classEmfStateRecordType
The state record types specify and manage graphics properties that define the state of the playback device context.
Public classEmfStretchBlt
The EMR_STRETCHBLT 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.
Public classEmfStretchDiBits
The EMR_STRETCHDIBITS 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.
Public classEmfStrokeAndFillPath
The EMR_STROKEANDFILLPATH 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.
Public classEmfStrokePath
EMR_STROKEPATH class
Public classEmfTransformRecordType
The transform record types specify and modify world-space to page-space transforms.
Public classEmfTransparentBlt
The EMR_TRANSPARENTBLT 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
Public classEmfVertexData
Objects that specify the vertexes of either rectangles or triangles and the colors that correspond to them.
Public classEmfWidenPath
This record redefines the current path as the area that would be painted if the path were drawn using the pen currently selected into the playback device context.
Structures
  StructureDescription
Public structureEmfBlendFunction
A structure that specifies the blending operations for source and destination bitmaps.
Enumerations