EmfCreateColorSpaceW Class
Contents
[
Hide
]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
Constructors
Name | Description |
---|---|
EmfCreateColorSpaceW(source) | Initializes a new instance of the EmfCreateColorSpaceW class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
cb_data | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field. |
data | byte | r/w | Gets or sets an optional array of bytes that specifies color profile data. |
dw_flags | int | r/w | Gets or sets a 32-bit unsigned integer that provides information about the data in this record. |
ih_cs | int | r/w | Gets 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. |
lcs | WmfLogColorSpaceW | r/w | Gets 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 |
size | int | r/w | Gets or sets the size of the record |
type | EmfRecordType | r/w | Gets or sets the type. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |