Packages

 

com.aspose.imaging.fileformats.wmf.consts

Class WmfMetafileEscapes

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.wmf.consts.WmfMetafileEscapes


  • public final class WmfMetafileEscapes
    extends com.aspose.ms.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).

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

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

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • Newframe

        public static final int Newframe

        Notifies the printer driver that the application has finished writing to a page.

        See Also:
        Constant Field Values
      • Abortdoc

        public static final int Abortdoc

        Stops processing the current document.

        See Also:
        Constant Field Values
      • Nextband

        public static final int Nextband

        Notifies the printer driver that the application has finished writing to a band.

        See Also:
        Constant Field Values
      • Setcolortable

        public static final int Setcolortable

        Sets color table values.

        See Also:
        Constant Field Values
      • Getcolortable

        public static final int Getcolortable

        Gets color table values.

        See Also:
        Constant Field Values
      • Flushout

        public static final int Flushout

        Causes all pending output to be flushed to the output device.

        See Also:
        Constant Field Values
      • Draftmode

        public static final int Draftmode

        Indicates that the printer driver SHOULD print text only, and no graphics.

        See Also:
        Constant Field Values
      • 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.

        See Also:
        Constant Field Values
      • Setabortproc

        public static final int Setabortproc

        Sets the application-defined function that allows a print job to be canceled during printing.

        See Also:
        Constant Field Values
      • Startdoc

        public static final int Startdoc

        Notifies the printer driver that a new print job is starting.

        See Also:
        Constant Field Values
      • Enddoc

        public static final int Enddoc

        Notifies the printer driver that the current print job is ending.

        See Also:
        Constant Field Values
      • Getphyspagesize

        public static final int Getphyspagesize

        Retrieves the physical page size currently selected on an output device.

        See Also:
        Constant Field Values
      • 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.

        See Also:
        Constant Field Values
      • Getscalingfactor

        public static final int Getscalingfactor

        Retrieves the scaling factors for the x-axis and the y-axis of a printer.

        See Also:
        Constant Field Values
      • MetaEscapeEnhancedMetafile

        public static final int MetaEscapeEnhancedMetafile

        Used to embed an enhanced metafile format (EMF) metafile within a WMF metafile.

        See Also:
        Constant Field Values
      • Setpenwidth

        public static final int Setpenwidth

        Sets the width of a pen in pixels.

        See Also:
        Constant Field Values
      • Setcopycount

        public static final int Setcopycount

        Sets the number of copies.

        See Also:
        Constant Field Values
      • Setpapersource

        public static final int Setpapersource

        Sets the source, such as a particular paper tray or bin on a printer, for output forms.

        See Also:
        Constant Field Values
      • Passthrough

        public static final int Passthrough

        This record passes through arbitrary data.

        See Also:
        Constant Field Values
      • Gettechnology

        public static final int Gettechnology

        Gets information concerning graphics technology that is supported on a device.

        See Also:
        Constant Field Values
      • Setlinecap

        public static final int Setlinecap

        Specifies the line-drawing mode to use in output to a device.

        See Also:
        Constant Field Values
      • Setlinejoin

        public static final int Setlinejoin

        Specifies the line-joining mode to use in output to a device.

        See Also:
        Constant Field Values
      • Setmiterlimit

        public static final int Setmiterlimit

        Sets the limit for the length of miter joins to use in output to a device.

        See Also:
        Constant Field Values
      • Bandinfo

        public static final int Bandinfo

        Retrieves or specifies settings concerning banding on a device, such as the number of bands.

        See Also:
        Constant Field Values
      • Drawpatternrect

        public static final int Drawpatternrect

        Draws a rectangle with a defined pattern.

        See Also:
        Constant Field Values
      • Getvectorpensize

        public static final int Getvectorpensize

        Retrieves the physical pen size currently defined on a device.

        See Also:
        Constant Field Values
      • Getvectorbrushsize

        public static final int Getvectorbrushsize

        Retrieves the physical brush size currently defined on a device.

        See Also:
        Constant Field Values
      • Enableduplex

        public static final int Enableduplex

        Enables or disables double-sided (duplex) printing on a device.

        See Also:
        Constant Field Values
      • Getsetpaperbins

        public static final int Getsetpaperbins

        Retrieves or specifies the source of output forms on a device.

        See Also:
        Constant Field Values
      • Getsetprintorient

        public static final int Getsetprintorient

        Retrieves or specifies the paper orientation on a device.

        See Also:
        Constant Field Values
      • Enumpaperbins

        public static final int Enumpaperbins

        Retrieves information concerning the sources of different forms on an output device.

        See Also:
        Constant Field Values
      • Setdibscaling

        public static final int Setdibscaling

        Specifies the scaling of device-independent bitmaps (DIBs).

        See Also:
        Constant Field Values
      • Epsprinting

        public static final int Epsprinting

        Indicates the start and end of an encapsulated PostScript (EPS) section.

        See Also:
        Constant Field Values
      • Enumpapermetrics

        public static final int Enumpapermetrics

        Queries a printer driver for paper dimensions and other forms data.

        See Also:
        Constant Field Values
      • Getsetpapermetrics

        public static final int Getsetpapermetrics

        Retrieves or specifies paper dimensions and other forms data on an output device.

        See Also:
        Constant Field Values
      • PostscriptData

        public static final int PostscriptData

        Sends arbitrary PostScript data to an output device.

        See Also:
        Constant Field Values
      • PostscriptIgnore

        public static final int PostscriptIgnore

        Notifies an output device to ignore PostScript data.

        See Also:
        Constant Field Values
      • Getdeviceunits

        public static final int Getdeviceunits

        Gets the device units currently configured on an output device.

        See Also:
        Constant Field Values
      • Getextendedtextmetrics

        public static final int Getextendedtextmetrics

        Gets extended text metrics currently configured on an output device.

        See Also:
        Constant Field Values
      • Getpairkerntable

        public static final int Getpairkerntable

        Gets the font kern table currently defined on an output device.

        See Also:
        Constant Field Values
      • Exttextout

        public static final int Exttextout

        Draws text using the currently selected font, background color, and text color.

        See Also:
        Constant Field Values
      • Getfacename

        public static final int Getfacename

        Gets the font face name currently configured on a device.

        See Also:
        Constant Field Values
      • Downloadface

        public static final int Downloadface

        Sets the font face name on a device.

        See Also:
        Constant Field Values
      • MetafileDriver

        public static final int MetafileDriver

        Queries a printer driver about the support for metafiles on an output device.

        See Also:
        Constant Field Values
      • Querydibsupport

        public static final int Querydibsupport

        Queries the printer driver about its support for DIBs on an output device.

        See Also:
        Constant Field Values
      • 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.

        See Also:
        Constant Field Values
      • 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.

        See Also:
        Constant Field Values
      • Downloadheader

        public static final int Downloadheader

        Instructs the printer driver to download sets of PostScript procedures.

        See Also:
        Constant Field Values
      • CloseChannel

        public static final int CloseChannel

        The same as ENDDOC. See OPEN_CHANNEL.

        See Also:
        Constant Field Values
      • EncapsulatedPostscript

        public static final int EncapsulatedPostscript

        Sends arbitrary data directly to the printer driver.

        See Also:
        Constant Field Values
      • PostscriptIdentify

        public static final int PostscriptIdentify

        Sets the printer driver to either PostScript or GDI mode.

        See Also:
        Constant Field Values
      • 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.

        See Also:
        Constant Field Values
      • Checkjpegformat

        public static final int Checkjpegformat

        Checks whether the printer supports a JPEG image.

        See Also:
        Constant Field Values
      • Checkpngformat

        public static final int Checkpngformat

        Checks whether the printer supports a PNG image.

        See Also:
        Constant Field Values
      • GetPsFeaturesetting

        public static final int GetPsFeaturesetting

        Gets information on a specified feature setting for a PostScript printer driver.

        See Also:
        Constant Field Values
      • MxdcEscape

        public static final int MxdcEscape

        Enables applications to write documents to a file or to a printer in XML Paper Specification (XPS) format.

        See Also:
        Constant Field Values
      • Spclpassthrough2

        public static final int Spclpassthrough2

        Enables applications to include private procedures and other arbitrary data in documents.

        See Also:
        Constant Field Values