EmfColorMatchToTargetW Class

Summary: The EMR_COLORMATCHTOTargetW record specifies whether to perform color matching with a color
profile that is specified in a file with a name consisting of Unicode characters.

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

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

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
cb_dataintr/wGets or sets a 32-bit unsigned integer that specifies the size of the raw data of the target
color profile, if it is contained in the Data field.
cb_nameintr/wGets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode
UTF16-LE name of the desired color profile.
databyter/wGets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE
name and raw data of the desired color profile.
dw_actionEmfColorSpacer/wGets or sets a 32-bit unsigned integer that specifies a value from the ColorSpace
enumeration (section 2.1.7).
dw_flagsEmfColorMatchToTargetr/wGets or sets a 32-bit unsigned integer that specifies a value from the
ColorMatchToTarget enumeration (section 2.1.6).
namestringrGets the name
raw_databyterGets the raw data
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: EmfColorMatchToTargetW(source)

 EmfColorMatchToTargetW(source) 

Initializes a new instance of the EmfColorMatchToTargetW 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