EmfColorMatchToTargetW Class
Contents
[
Hide
]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
Constructors
Name | Description |
---|---|
EmfColorMatchToTargetW(source) | Initializes a new instance of the EmfColorMatchToTargetW class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
cb_data | int | r/w | Gets 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_name | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile. |
data | byte | r/w | Gets 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_action | EmfColorSpace | r/w | Gets or sets a 32-bit unsigned integer that specifies a value from the ColorSpace enumeration (section 2.1.7). |
dw_flags | EmfColorMatchToTarget | r/w | Gets or sets a 32-bit unsigned integer that specifies a value from the ColorMatchToTarget enumeration (section 2.1.6). |
name | string | r | Gets the name |
raw_data | byte | r | Gets the raw data |
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: EmfColorMatchToTargetW(source)
EmfColorMatchToTargetW(source)
Initializes a new instance of the EmfColorMatchToTargetW 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 |