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 and Description |
---|
EmfSetIcmMode(EmfRecord source)
Initializes a new instance of the
EmfSetIcmMode class. |
Modifier and Type | Method and Description |
---|---|
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).
|
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).
|
public EmfSetIcmMode(EmfRecord source)
Initializes a new instance of the EmfSetIcmMode
class.
source
- The source.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.
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.