Packages

 

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

Classes

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

Class EmfSetColorSpace

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


    public final class EmfSetColorSpace
    extends EmfObjectManipulationRecordType

    The EMR_SETCOLORSPACE record defines the current logical color space object for graphics operations.

    The logical color space object defined by this record MUST be used in drawing operations that are specified by subsequent EMF records, until either a different logical color space object is specified by another EMR_SETCOLORSPACE record, or the object is removed by a EMR_DELETECOLORSPACE record.

    • Constructor Detail

      • EmfSetColorSpace

        public EmfSetColorSpace(EmfRecord source)

        Initializes a new instance of the EmfSetColorSpace class.

        Parameters:
        source - The source.
    • Method Detail

      • getIhCS

        public int getIhCS()

        Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object in the EMF Object Table (section 3.1.1.1).

        This object is either a WMF LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively).

      • setIhCS

        public void setIhCS(int value)

        Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object in the EMF Object Table (section 3.1.1.1).

        This object is either a WMF LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively).