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

FieldDescription
NewframeNotifies the printer driver that the application has finished writing to a page.
AbortdocStops processing the current document.
NextbandNotifies the printer driver that the application has finished writing to a band.
SetcolortableSets color table values.
GetcolortableGets color table values.
FlushoutCauses all pending output to be flushed to the output device.
DraftmodeIndicates that the printer driver SHOULD print text only, and no graphics.
QueryescsupportQueries a printer driver to determine whether a specific escape function is supported on the output device it drives.
SetabortprocSets the application-defined function that allows a print job to be canceled during printing.
StartdocNotifies the printer driver that a new print job is starting.
EnddocNotifies the printer driver that the current print job is ending.
GetphyspagesizeRetrieves the physical page size currently selected on an output device.
GetprintingoffsetRetrieves the offset from the upper-left corner of the physical page where the actual printing or drawing begins.
GetscalingfactorRetrieves the scaling factors for the x-axis and the y-axis of a printer.
MetaEscapeEnhancedMetafileUsed to embed an enhanced metafile format (EMF) metafile within a WMF metafile.
SetpenwidthSets the width of a pen in pixels.
SetcopycountSets the number of copies.
SetpapersourceSets the source, such as a particular paper tray or bin on a printer, for output forms.
PassthroughThis record passes through arbitrary data.
GettechnologyGets information concerning graphics technology that is supported on a device.
SetlinecapSpecifies the line-drawing mode to use in output to a device.
SetlinejoinSpecifies the line-joining mode to use in output to a device.
SetmiterlimitSets the limit for the length of miter joins to use in output to a device.
BandinfoRetrieves or specifies settings concerning banding on a device, such as the number of bands.
DrawpatternrectDraws a rectangle with a defined pattern.
GetvectorpensizeRetrieves the physical pen size currently defined on a device.
GetvectorbrushsizeRetrieves the physical brush size currently defined on a device.
EnableduplexEnables or disables double-sided (duplex) printing on a device.
GetsetpaperbinsRetrieves or specifies the source of output forms on a device.
GetsetprintorientRetrieves or specifies the paper orientation on a device.
EnumpaperbinsRetrieves information concerning the sources of different forms on an output device.
SetdibscalingSpecifies the scaling of device-independent bitmaps (DIBs).
EpsprintingIndicates the start and end of an encapsulated PostScript (EPS) section.
EnumpapermetricsQueries a printer driver for paper dimensions and other forms data.
GetsetpapermetricsRetrieves or specifies paper dimensions and other forms data on an output device.
PostscriptDataSends arbitrary PostScript data to an output device.
PostscriptIgnoreNotifies an output device to ignore PostScript data.
GetdeviceunitsGets the device units currently configured on an output device.
GetextendedtextmetricsGets extended text metrics currently configured on an output device.
GetpairkerntableGets the font kern table currently defined on an output device.
ExttextoutDraws text using the currently selected font, background color, and text color.
GetfacenameGets the font face name currently configured on a device.
DownloadfaceSets the font face name on a device.
MetafileDriverQueries a printer driver about the support for metafiles on an output device.
QuerydibsupportQueries the printer driver about its support for DIBs on an output device.
BeginPathOpens a path.
ClipToPathDefines a clip region that is bounded by a path.
EndPathEnds a path.
OpenChannelThe same as STARTDOC specified with a NULL document and output filename, data in raw mode, and a type of zero.
DownloadheaderInstructs the printer driver to download sets of PostScript procedures.
CloseChannelThe same as ENDDOC.
PostscriptPassthroughSends arbitrary data directly to a printer driver, which is expected to process this data only when in PostScript mode.
EncapsulatedPostscriptSends arbitrary data directly to the printer driver.
PostscriptIdentifySets the printer driver to either PostScript or GDI mode.
PostscriptInjectionInserts a block of raw data into a PostScript stream.
CheckjpegformatChecks whether the printer supports a JPEG image.
CheckpngformatChecks whether the printer supports a PNG image.
GetPsFeaturesettingGets information on a specified feature setting for a PostScript printer driver.
MxdcEscapeEnables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.
Spclpassthrough2Enables 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.