Packages

 

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

Classes

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

Class EmfCreateColorSpaceW

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


    public final class EmfCreateColorSpaceW
    extends EmfObjectCreationRecordType

    The EMR_CREATECOLORSPACEW record creates a logical color space object from a color profile with a name consisting of Unicode characters.

    The logical color space object defined by this record can be selected into the playback device context by an EMR_SETCOLORSPACE record (section 2.3.8.7), which defines the logical color space to use in subsequent graphics operations.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfCreateColorSpaceW(EmfRecord source)
      Initializes a new instance of the EmfCreateColorSpaceW 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, in bytes, of the Data field.
      byte[] getData()
      Gets or sets an optional array of bytes that specifies color profile data.
      int getDwFlags()
      Gets or sets a 32-bit unsigned integer that provides information about the data in this record.
      int getIhCS()
      Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1).
      WmfLogColorSpaceW getLcs()
      Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters
      void setCbData(int value)
      Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
      void setData(byte[] value)
      Gets or sets an optional array of bytes that specifies color profile data.
      void setDwFlags(int value)
      Gets or sets a 32-bit unsigned integer that provides information about the data in this record.
      void setIhCS(int value)
      Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1).
      void setLcs(WmfLogColorSpaceW value)
      Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters
    • Constructor Detail

      • EmfCreateColorSpaceW

        public EmfCreateColorSpaceW(EmfRecord source)

        Initializes a new instance of the EmfCreateColorSpaceW class.

        Parameters:
        source - The source.
    • Method Detail

      • getIhCS

        public int getIhCS()

        Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.

      • setIhCS

        public void setIhCS(int value)

        Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.

      • getLcs

        public WmfLogColorSpaceW getLcs()

        Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters

      • setLcs

        public void setLcs(WmfLogColorSpaceW value)

        Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters

      • getDwFlags

        public int getDwFlags()

        Gets or sets a 32-bit unsigned integer that provides information about the data in this record.

      • setDwFlags

        public void setDwFlags(int value)

        Gets or sets a 32-bit unsigned integer that provides information about the data in this record.

      • getCbData

        public int getCbData()

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.

      • setCbData

        public void setCbData(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.

      • getData

        public byte[] getData()

        Gets or sets an optional array of bytes that specifies color profile data.

      • setData

        public void setData(byte[] value)

        Gets or sets an optional array of bytes that specifies color profile data.