EmfSetIcmMode

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

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.

Constructors

ConstructorDescription
EmfSetIcmMode(EmfRecord source)Initializes a new instance of the EmfSetIcmMode class.

Methods

MethodDescription
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).
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).

EmfSetIcmMode(EmfRecord source)

public EmfSetIcmMode(EmfRecord source)

Initializes a new instance of the EmfSetIcmMode class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

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.

Returns: int

setIcmMode(int value)

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.

Parameters:

ParameterTypeDescription
valueint