Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfNamedEscape

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfNamedEscape
    extends EmfEscapeRecordType

    The MR_NAMEDESCAPE record passes arbitrary information to a specified printer driver.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfNamedEscape(EmfRecord source)
      Initializes a new instance of the EmfNamedEscape class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getCjDriver()
      Gets or sets A 32-bit unsigned integer that specifies the number of bytes in the DriverName field.
      int getCjIn()
      Gets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.
      byte[] getData()
      Gets or sets The data to pass to the printer driver.
      String getDriverName()
      Gets or sets A string of 16-bit Unicode characters that specifies the name of the printer driver that will receive data.
      void setCjDriver(int value)
      Gets or sets A 32-bit unsigned integer that specifies the number of bytes in the DriverName field.
      void setCjIn(int value)
      Gets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.
      void setData(byte[] value)
      Gets or sets The data to pass to the printer driver.
      void setDriverName(String value)
      Gets or sets A string of 16-bit Unicode characters that specifies the name of the printer driver that will receive data.
    • Constructor Detail

      • EmfNamedEscape

        public EmfNamedEscape(EmfRecord source)

        Initializes a new instance of the EmfNamedEscape class.

        Parameters:
        source - The source.
    • Method Detail

      • getCjDriver

        public int getCjDriver()

        Gets or sets A 32-bit unsigned integer that specifies the number of bytes in the DriverName field. This value MUST be an even number.

      • setCjDriver

        public void setCjDriver(int value)

        Gets or sets A 32-bit unsigned integer that specifies the number of bytes in the DriverName field. This value MUST be an even number.

      • getCjIn

        public int getCjIn()

        Gets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.

      • setCjIn

        public void setCjIn(int value)

        Gets or sets A 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.

      • getDriverName

        public String getDriverName()

        Gets or sets A string of 16-bit Unicode characters that specifies the name of the printer driver that will receive data. This value MUST be cjDriver bytes long, and it MUST be terminated with a null character.

      • setDriverName

        public void setDriverName(String value)

        Gets or sets A string of 16-bit Unicode characters that specifies the name of the printer driver that will receive data. This value MUST be cjDriver bytes long, and it MUST be terminated with a null character.

      • getData

        public byte[] getData()

        Gets or sets The data to pass to the printer driver. There MUST be cjIn bytes available.

      • setData

        public void setData(byte[] value)

        Gets or sets The data to pass to the printer driver. There MUST be cjIn bytes available.