EmfCreatePalette Class
Contents
[
Hide
]Summary: The EMR_CREATEPALETTE record defines a logical palette for graphics operations.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCreatePalette
Inheritance: EmfObjectCreationRecordType
Aspose.Imaging Version: 24.5.0
Constructors
Name | Description |
---|---|
EmfCreatePalette(source) | Initializes a new instance of the EmfCreatePalette class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
ih_pal | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the index of the logical palette 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. |
log_palette | EmfLogPalette | r/w | Gets or sets a LogPalette object (section 2.2.17). The Version field of this object MUST be set to 0x0300. If the NumberOfEntries value in this object is zero, processing of this record MUST fail. |
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: EmfCreatePalette(source)
EmfCreatePalette(source)
Initializes a new instance of the EmfCreatePalette 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 |