StringStructure Class
Contents
[
Hide
]Summary: The string structure.
Module: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures
Full Name: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.StringStructure
Inheritance: OSTypeStructure
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
StringStructure(key_name) | Initializes a new instance of the StringStructure class. |
StringStructure(key_name, value) | Initializes a new instance of the StringStructure class with value. |
Properties
Name | Type | Access | Description |
---|---|---|---|
STRUCTURE_KEY [static] | int | r | Identifies the structure key. |
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. |
value | string | r/w | Gets or sets the value. |
Methods
Name | Description |
---|---|
get_header_length() | Gets the header length. |
save(stream_container) | Saves the structure to the specified stream container. |
save_without_key_name(stream_container) | Saves the structure to the specified stream container. |
Constructor: StringStructure(key_name)
StringStructure(key_name)
Initializes a new instance of the StringStructure class.
Parameters:
Parameter | Type | Description |
---|---|---|
key_name | ClassID | The key name. |
Constructor: StringStructure(key_name, value)
StringStructure(key_name, value)
Initializes a new instance of the StringStructure class with value.
Parameters:
Parameter | Type | Description |
---|---|---|
key_name | ClassID | The key name. |
value | string | The value. |
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 structure to the specified stream container.
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. |