EmfColorCorrectPalette Class
Contents
[
Hide
]Summary: The EMR_COLORCORRECTPALETTE record specifies how to correct the entries of a logical palette
object using WCS 1.0 values.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfColorCorrectPalette
Inheritance: EmfObjectManipulationRecordType
Constructors
| Name | Description |
|---|---|
| EmfColorCorrectPalette(source) | Initializes a new instance of the EmfColorCorrectPalette class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| ih_palette | int | r/w | Gets or sets a 32-bit unsigned integer that specifies index of a logical palette object (section 2.2.17) in the EMF Object Table (section 3.1.1.1). |
| n_first_entry | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the index of the first entry to correct. |
| n_pal_entries | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the number of palette entries to correct. |
| 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: EmfColorCorrectPalette(source)
EmfColorCorrectPalette(source)
Initializes a new instance of the EmfColorCorrectPalette 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 |