EmfSetIcmProfileW Class

Summary: The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of
Unicode characters, for graphics output.

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

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

Inheritance: EmfStateRecordType

Constructors

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

Properties

NameTypeAccessDescription
cb_dataintr/wGets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
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_flagsintr/wGets or sets a 32-bit unsigned integer that contains color profile flags.
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: EmfSetIcmProfileW(source)

 EmfSetIcmProfileW(source) 

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