WmfMetafileEscapes
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class WmfMetafileEscapes extends System.Enum
The MetafileEscapes Enumeration specifies printer driver functionality that might not be directly accessible through WMF records defined in the RecordType Enumeration (section 2.1.1.1).
Fields
Field | Description |
---|---|
Newframe | Notifies the printer driver that the application has finished writing to a page. |
Abortdoc | Stops processing the current document. |
Nextband | Notifies the printer driver that the application has finished writing to a band. |
Setcolortable | Sets color table values. |
Getcolortable | Gets color table values. |
Flushout | Causes all pending output to be flushed to the output device. |
Draftmode | Indicates that the printer driver SHOULD print text only, and no graphics. |
Queryescsupport | Queries a printer driver to determine whether a specific escape function is supported on the output device it drives. |
Setabortproc | Sets the application-defined function that allows a print job to be canceled during printing. |
Startdoc | Notifies the printer driver that a new print job is starting. |
Enddoc | Notifies the printer driver that the current print job is ending. |
Getphyspagesize | Retrieves the physical page size currently selected on an output device. |
Getprintingoffset | Retrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins. |
Getscalingfactor | Retrieves the scaling factors for the x-axis and the y-axis of a printer. |
MetaEscapeEnhancedMetafile | Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile. |
Setpenwidth | Sets the width of a pen in pixels. |
Setcopycount | Sets the number of copies. |
Setpapersource | Sets the source, such as a particular paper tray or bin on a printer, for output forms. |
Passthrough | This record passes through arbitrary data. |
Gettechnology | Gets information concerning graphics technology that is supported on a device. |
Setlinecap | Specifies the line-drawing mode to use in output to a device. |
Setlinejoin | Specifies the line-joining mode to use in output to a device. |
Setmiterlimit | Sets the limit for the length of miter joins to use in output to a device. |
Bandinfo | Retrieves or specifies settings concerning banding on a device, such as the number of bands. |
Drawpatternrect | Draws a rectangle with a defined pattern. |
Getvectorpensize | Retrieves the physical pen size currently defined on a device. |
Getvectorbrushsize | Retrieves the physical brush size currently defined on a device. |
Enableduplex | Enables or disables double-sided (duplex) printing on a device. |
Getsetpaperbins | Retrieves or specifies the source of output forms on a device. |
Getsetprintorient | Retrieves or specifies the paper orientation on a device. |
Enumpaperbins | Retrieves information concerning the sources of different forms on an output device. |
Setdibscaling | Specifies the scaling of device-independent bitmaps (DIBs). |
Epsprinting | Indicates the start and end of an encapsulated PostScript (EPS) section. |
Enumpapermetrics | Queries a printer driver for paper dimensions and other forms data. |
Getsetpapermetrics | Retrieves or specifies paper dimensions and other forms data on an output device. |
PostscriptData | Sends arbitrary PostScript data to an output device. |
PostscriptIgnore | Notifies an output device to ignore PostScript data. |
Getdeviceunits | Gets the device units currently configured on an output device. |
Getextendedtextmetrics | Gets extended text metrics currently configured on an output device. |
Getpairkerntable | Gets the font kern table currently defined on an output device. |
Exttextout | Draws text using the currently selected font, background color, and text color. |
Getfacename | Gets the font face name currently configured on a device. |
Downloadface | Sets the font face name on a device. |
MetafileDriver | Queries a printer driver about the support for metafiles on an output device. |
Querydibsupport | Queries the printer driver about its support for DIBs on an output device. |
BeginPath | Opens a path. |
ClipToPath | Defines a clip region that is bounded by a path. |
EndPath | Ends a path. |
OpenChannel | The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero. |
Downloadheader | Instructs the printer driver to download sets of PostScript procedures. |
CloseChannel | The same as ENDDOC. |
PostscriptPassthrough | Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode. |
EncapsulatedPostscript | Sends arbitrary data directly to the printer driver. |
PostscriptIdentify | Sets the printer driver to either PostScript or GDI mode. |
PostscriptInjection | Inserts a block of raw data into a PostScript stream. |
Checkjpegformat | Checks whether the printer supports a JPEG image. |
Checkpngformat | Checks whether the printer supports a PNG image. |
GetPsFeaturesetting | Gets information on a specified feature setting for a PostScript printer driver. |
MxdcEscape | Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format. |
Spclpassthrough2 | Enables applications to include private procedures and other arbitrary data in documents. |
Newframe
public static final int Newframe
Notifies the printer driver that the application has finished writing to a page.
Abortdoc
public static final int Abortdoc
Stops processing the current document.
Nextband
public static final int Nextband
Notifies the printer driver that the application has finished writing to a band.
Setcolortable
public static final int Setcolortable
Sets color table values.
Getcolortable
public static final int Getcolortable
Gets color table values.
Flushout
public static final int Flushout
Causes all pending output to be flushed to the output device.
Draftmode
public static final int Draftmode
Indicates that the printer driver SHOULD print text only, and no graphics.
Queryescsupport
public static final int Queryescsupport
Queries a printer driver to determine whether a specific escape function is supported on the output device it drives.
Setabortproc
public static final int Setabortproc
Sets the application-defined function that allows a print job to be canceled during printing.
Startdoc
public static final int Startdoc
Notifies the printer driver that a new print job is starting.
Enddoc
public static final int Enddoc
Notifies the printer driver that the current print job is ending.
Getphyspagesize
public static final int Getphyspagesize
Retrieves the physical page size currently selected on an output device.
Getprintingoffset
public static final int Getprintingoffset
Retrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins.
Getscalingfactor
public static final int Getscalingfactor
Retrieves the scaling factors for the x-axis and the y-axis of a printer.
MetaEscapeEnhancedMetafile
public static final int MetaEscapeEnhancedMetafile
Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile.
Setpenwidth
public static final int Setpenwidth
Sets the width of a pen in pixels.
Setcopycount
public static final int Setcopycount
Sets the number of copies.
Setpapersource
public static final int Setpapersource
Sets the source, such as a particular paper tray or bin on a printer, for output forms.
Passthrough
public static final int Passthrough
This record passes through arbitrary data.
Gettechnology
public static final int Gettechnology
Gets information concerning graphics technology that is supported on a device.
Setlinecap
public static final int Setlinecap
Specifies the line-drawing mode to use in output to a device.
Setlinejoin
public static final int Setlinejoin
Specifies the line-joining mode to use in output to a device.
Setmiterlimit
public static final int Setmiterlimit
Sets the limit for the length of miter joins to use in output to a device.
Bandinfo
public static final int Bandinfo
Retrieves or specifies settings concerning banding on a device, such as the number of bands.
Drawpatternrect
public static final int Drawpatternrect
Draws a rectangle with a defined pattern.
Getvectorpensize
public static final int Getvectorpensize
Retrieves the physical pen size currently defined on a device.
Getvectorbrushsize
public static final int Getvectorbrushsize
Retrieves the physical brush size currently defined on a device.
Enableduplex
public static final int Enableduplex
Enables or disables double-sided (duplex) printing on a device.
Getsetpaperbins
public static final int Getsetpaperbins
Retrieves or specifies the source of output forms on a device.
Getsetprintorient
public static final int Getsetprintorient
Retrieves or specifies the paper orientation on a device.
Enumpaperbins
public static final int Enumpaperbins
Retrieves information concerning the sources of different forms on an output device.
Setdibscaling
public static final int Setdibscaling
Specifies the scaling of device-independent bitmaps (DIBs).
Epsprinting
public static final int Epsprinting
Indicates the start and end of an encapsulated PostScript (EPS) section.
Enumpapermetrics
public static final int Enumpapermetrics
Queries a printer driver for paper dimensions and other forms data.
Getsetpapermetrics
public static final int Getsetpapermetrics
Retrieves or specifies paper dimensions and other forms data on an output device.
PostscriptData
public static final int PostscriptData
Sends arbitrary PostScript data to an output device.
PostscriptIgnore
public static final int PostscriptIgnore
Notifies an output device to ignore PostScript data.
Getdeviceunits
public static final int Getdeviceunits
Gets the device units currently configured on an output device.
Getextendedtextmetrics
public static final int Getextendedtextmetrics
Gets extended text metrics currently configured on an output device.
Getpairkerntable
public static final int Getpairkerntable
Gets the font kern table currently defined on an output device.
Exttextout
public static final int Exttextout
Draws text using the currently selected font, background color, and text color.
Getfacename
public static final int Getfacename
Gets the font face name currently configured on a device.
Downloadface
public static final int Downloadface
Sets the font face name on a device.
MetafileDriver
public static final int MetafileDriver
Queries a printer driver about the support for metafiles on an output device.
Querydibsupport
public static final int Querydibsupport
Queries the printer driver about its support for DIBs on an output device.
BeginPath
public static final int BeginPath
Opens a path.
ClipToPath
public static final int ClipToPath
Defines a clip region that is bounded by a path. The input MUST be a 16-bit quantity that defines the action to take.
EndPath
public static final int EndPath
Ends a path.
OpenChannel
public static final int OpenChannel
The same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero.
Downloadheader
public static final int Downloadheader
Instructs the printer driver to download sets of PostScript procedures.
CloseChannel
public static final int CloseChannel
The same as ENDDOC. See OPEN_CHANNEL.
PostscriptPassthrough
public static final int PostscriptPassthrough
Sends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode. PostscriptIdentify.
EncapsulatedPostscript
public static final int EncapsulatedPostscript
Sends arbitrary data directly to the printer driver.
PostscriptIdentify
public static final int PostscriptIdentify
Sets the printer driver to either PostScript or GDI mode.
PostscriptInjection
public static final int PostscriptInjection
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.
Checkjpegformat
public static final int Checkjpegformat
Checks whether the printer supports a JPEG image.
Checkpngformat
public static final int Checkpngformat
Checks whether the printer supports a PNG image.
GetPsFeaturesetting
public static final int GetPsFeaturesetting
Gets information on a specified feature setting for a PostScript printer driver.
MxdcEscape
public static final int MxdcEscape
Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.
Spclpassthrough2
public static final int Spclpassthrough2
Enables applications to include private procedures and other arbitrary data in documents.