EnumeratedReferenceStructure Class
Contents
[
Hide
]Summary: Enumerated reference structure.
Module: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures
Full Name: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.EnumeratedReferenceStructure
Inheritance: EnumeratedDescriptorStructure
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
EnumeratedReferenceStructure(key_name, class_id, type_id, enum_name) | Initializes a new instance of the EnumeratedReferenceStructure class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
ENUMERATED_STRUCTURE_KEY [static] | int | r | Identifies the structure key. |
STRUCTURE_KEY [static] | int | r | The enumerated descriptor key. |
class_id | ClassID | r/w | Gets or sets the class ID. |
class_name | string | r/w | Gets or sets the class name. |
enum_name | ClassID | r/w | Gets or sets the enum name. |
key | int | r | Gets the key. |
key_name | ClassID | r/w | Gets or sets the key name. |
length | int | r | Gets the OSTypeStructure length in bytes. |
type_id | ClassID | r/w | Gets or sets the type ID. |
Methods
Name | Description |
---|---|
get_header_length() | Gets the header length. |
save(stream_container) | Saves the data. |
save_without_key_name(stream_container) | Saves the structure to the specified stream container. |
Constructor: EnumeratedReferenceStructure(key_name, class_id, type_id, enum_name)
EnumeratedReferenceStructure(key_name, class_id, type_id, enum_name)
Initializes a new instance of the EnumeratedReferenceStructure class.
Parameters:
Parameter | Type | Description |
---|---|---|
key_name | ClassID | The key name. |
class_id | ClassID | The class ID. |
type_id | ClassID | The type ID. |
enum_name | ClassID | The enum name. |
Method: get_header_length()
get_header_length()
Gets the header length.
Returns
Type | Description |
---|---|
int | The header length |
Method: save(stream_container)
save(stream_container)
Saves the data.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container. |
Method: save_without_key_name(stream_container)
save_without_key_name(stream_container)
Saves the structure to the specified stream container.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container. |