WmfMetafileEscapes Enumeration
The MetafileEscapes Enumeration specifies printer driver functionality that might not be directly accessible through WMF records defined in the RecordType Enumeration (section

Namespace: Aspose.Imaging.FileFormats.Wmf.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
public enum WmfMetafileEscapes
  Member nameValueDescription
Newframe1 Notifies the printer driver that the application has finished writing to a page.
Abortdoc2 Stops processing the current document.
Nextband3 Notifies the printer driver that the application has finished writing to a band.
Setcolortable4 Sets color table values.
Getcolortable5 Gets color table values.
Flushout6 Causes all pending output to be flushed to the output device.
Draftmode7 Indicates that the printer driver SHOULD print text only, and no graphics.
Queryescsupport8 Queries a printer driver to determine whether a specific escape function is supported on the output device it drives.
Setabortproc9 Sets the application-defined function that allows a print job to be canceled during printing.
Startdoc10 Notifies the printer driver that a new print job is starting.
Enddoc11 Notifies the printer driver that the current print job is ending.
Getphyspagesize12 Retrieves the physical page size currently selected on an output device.
Getprintingoffset13 Retrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins.
Getscalingfactor14 Retrieves the scaling factors for the x-axis and the y-axis of a printer.
MetaEscapeEnhancedMetafile15 Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile.
Setpenwidth16 Sets the width of a pen in pixels.
Setcopycount17 Sets the number of copies.
Setpapersource18 Sets the source, such as a particular paper tray or bin on a printer, for output forms.
Passthrough19 This record passes through arbitrary data.
Gettechnology20 Gets information concerning graphics technology that is supported on a device.
Setlinecap21 Specifies the line-drawing mode to use in output to a device.
Setlinejoin22 Specifies the line-joining mode to use in output to a device.
Setmiterlimit23 Sets the limit for the length of miter joins to use in output to a device.
Bandinfo24 Retrieves or specifies settings concerning banding on a device, such as the number of bands.
Drawpatternrect25 Draws a rectangle with a defined pattern.
Getvectorpensize26 Retrieves the physical pen size currently defined on a device.
Getvectorbrushsize27 Retrieves the physical brush size currently defined on a device.
Enableduplex28 Enables or disables double-sided (duplex) printing on a device.
Getsetpaperbins29 Retrieves or specifies the source of output forms on a device.
Getsetprintorient30 Retrieves or specifies the paper orientation on a device.
Enumpaperbins31 Retrieves information concerning the sources of different forms on an output device.
Setdibscaling32 Specifies the scaling of device-independent bitmaps (DIBs).
Epsprinting33 Indicates the start and end of an encapsulated PostScript (EPS) section.
Enumpapermetrics34 Queries a printer driver for paper dimensions and other forms data.
Getsetpapermetrics35 Retrieves or specifies paper dimensions and other forms data on an output device.
PostscriptData37 Sends arbitrary PostScript data to an output device.
PostscriptIgnore38 Notifies an output device to ignore PostScript data.
Getdeviceunits42 Gets the device units currently configured on an output device.
Getextendedtextmetrics256 Gets extended text metrics currently configured on an output device.
Getpairkerntable258 Gets the font kern table currently defined on an output device.
Exttextout512 Draws text using the currently selected font, background color, and text color.
Getfacename513 Gets the font face name currently configured on a device.
Downloadface514 Sets the font face name on a device.
MetafileDriver2049 Queries a printer driver about the support for metafiles on an output device.
Querydibsupport3073 Queries the printer driver about its support for DIBs on an output device.
BeginPath4096 Opens a path.
ClipToPath4097 Defines a clip region that is bounded by a path. The input MUST be a 16-bit quantity that defines the action to take.
EndPath4098 Ends a path.
OpenChannel4110 The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero.
Downloadheader4111 Instructs the printer driver to download sets of PostScript procedures.
CloseChannel4112 The same as ENDDOC. See OPEN_CHANNEL.
PostscriptPassthrough4115 Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode. PostscriptIdentify.
EncapsulatedPostscript4116 Sends arbitrary data directly to the printer driver.
PostscriptIdentify4117 Sets the printer driver to either PostScript or GDI mode.
PostscriptInjection4118 Inserts a block of raw data into a PostScript stream. The input MUST be a 32-bit quantity specifying the number of bytes to inject, a 16-bit quantity specifying the injection point, and a 16-bit quantity specifying the page number, followed by the bytes to inject.
Checkjpegformat4119 Checks whether the printer supports a JPEG image.
Checkpngformat4120 Checks whether the printer supports a PNG image.
GetPsFeaturesetting4121 Gets information on a specified feature setting for a PostScript printer driver.
MxdcEscape4122 Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.
Spclpassthrough24568 Enables applications to include private procedures and other arbitrary data in documents.
See Also