EmfCreateColorSpaceW Class

Summary: The EMR_CREATECOLORSPACEW record creates a logical color space object from a color profile with
a name consisting of Unicode characters.

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

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

Inheritance: EmfObjectCreationRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
cb_dataintr/wGets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
databyter/wGets or sets an optional array of bytes that specifies color profile data.
dw_flagsintr/wGets or sets a 32-bit unsigned integer that provides information about the data in this record.
ih_csintr/wGets or sets a 32-bit unsigned integer that specifies the index of the logical color space
object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object
can be reused or modified.
lcsWmfLogColorSpaceWr/wGets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify
the name of a color profile in Unicode UTF16-LE characters
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: EmfCreateColorSpaceW(source)

 EmfCreateColorSpaceW(source) 

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