EmfSetIcmMode Class

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

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSetIcmMode

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
icm_modeEmfIcmModer/wGets 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.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfSetIcmMode(source)

 EmfSetIcmMode(source) 

Initializes a new instance of the EmfSetIcmMode class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord