Class EmfSetIcmMode

Class EmfSetIcmMode

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

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

public sealed class EmfSetIcmMode : EmfStateRecordType

Inheritance

objectMetaObjectEmfRecordEmfStateRecordTypeEmfSetIcmMode

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

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

EmfSetIcmMode(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSetIcmMode class.

public EmfSetIcmMode(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

IcmMode

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 EmfIcmMode IcmMode { get; set; }

Property Value

EmfIcmMode