EmfSetIcmProfileA Class

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

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

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

Inheritance: EmfStateRecordType

Aspose.Imaging Version: 24.6.0

Constructors

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

Properties

NameTypeAccessDescription
cb_dataintr/wGets or sets a 32-bit unsigned integer that specifies the size of the color profile data, 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 ASCII
name of the desired color profile.
databyter/wGets or sets an array of size (cbName + cbData) in bytes, which specifies the ASCII
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: EmfSetIcmProfileA(source)

 EmfSetIcmProfileA(source) 

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