Packages

 

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

Classes

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

Class EmfSetIcmProfileW

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


    public final class EmfSetIcmProfileW
    extends EmfStateRecordType

    The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output.

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getCbData()
      Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
      int getCbName()
      Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.
      byte[] getData()
      Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.
      int getDwFlags()
      Gets or sets a 32-bit unsigned integer that contains color profile flags.
      String getName()
      Gets the name
      byte[] getRawData()
      Gets the raw data
      void setCbData(int value)
      Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
      void setCbName(int value)
      Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.
      void setData(byte[] value)
      Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.
      void setDwFlags(int value)
      Gets or sets a 32-bit unsigned integer that contains color profile flags.
    • Constructor Detail

      • EmfSetIcmProfileW

        public EmfSetIcmProfileW(EmfRecord source)

        Initializes a new instance of the EmfSetIcmProfileW class.

        Parameters:
        source - The source.
    • Method Detail

      • getDwFlags

        public int getDwFlags()

        Gets or sets a 32-bit unsigned integer that contains color profile flags.

      • setDwFlags

        public void setDwFlags(int value)

        Gets or sets a 32-bit unsigned integer that contains color profile flags.

      • getCbName

        public int getCbName()

        Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

      • setCbName

        public void setCbName(int value)

        Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

      • getCbData

        public int getCbData()

        Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.

      • setCbData

        public void setCbData(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.

      • getData

        public byte[] getData()

        Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

      • setData

        public void setData(byte[] value)

        Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

      • getName

        public String getName()

        Gets the name

      • getRawData

        public byte[] getRawData()

        Gets the raw data