Packages

 

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

Classes

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

Class EmfSetIcmMode

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


    public final class EmfSetIcmMode
    extends EmfStateRecordType

    The EMR_SETICMMODE record specifies the mode of Image Color Management (ICM) for graphics operations.

    When ICM mode is enabled, colors specified in EMF records SHOULD be color matched, whereas the default color profile in the playback device context SHOULD be used when a bit-block transfer is performed. If the default color profile is not desired, ICM mode SHOULD be turned off before performing the bit-block transfer.

    • Constructor Detail

      • EmfSetIcmMode

        public EmfSetIcmMode(EmfRecord source)

        Initializes a new instance of the EmfSetIcmMode class.

        Parameters:
        source - The source.
    • Method Detail

      • getIcmMode

        public int getIcmMode()

        Gets or sets a 32-bit unsigned integer that specifies whether to enable or disable ICM, from the ICMMode enumeration (section 2.1.18). This value is part of the state of the playback device context.

      • setIcmMode

        public void setIcmMode(int value)

        Gets or sets a 32-bit unsigned integer that specifies whether to enable or disable ICM, from the ICMMode enumeration (section 2.1.18). This value is part of the state of the playback device context.