EmfSelectPalette Class
Contents
[
Hide
]Summary: The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSelectPalette
Inheritance: EmfObjectManipulationRecordType
Constructors
| Name | Description |
|---|---|
| EmfSelectPalette(source) | Initializes a new instance of the EmfSelectPalette class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| ih_pal | int | r/w | Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31). |
| 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: EmfSelectPalette(source)
EmfSelectPalette(source)
Initializes a new instance of the EmfSelectPalette 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 |