ObjectArrayStructure Class
Contents
[
Hide
]Summary: Defines the ObjectArrayStructure class that usually holds UnitArrayStructure array.
It is used in the PSD file resources, such as PlLd Resource and SoLd Resource.
Module: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures
Full Name: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.ObjectArrayStructure
Inheritance: OSTypeStructure
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
ObjectArrayStructure(key, key_name, class_id, class_name, structures) | Initializes a new instance of the ObjectArrayStructure class. |
ObjectArrayStructure(key_name, class_id_name, structures) | Initializes a new instance of the ObjectArrayStructure class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
STRUCTURE_KEY [static] | int | r | Identifies the ‘ObAr’ structure key. |
class_id | ClassID | r/w | Gets or sets the object array class ID. |
class_name | string | r/w | Gets or sets the object array class name. |
key | int | r | Gets the object array structure key. |
key_name | ClassID | r/w | Gets or sets the key name. |
length | int | r | Gets the OSTypeStructure length in bytes. |
structure_count | int | r | Gets the object array substructure count. |
structures | OSTypeStructure[] | r/w | Gets or sets a copy of an array of structures. |
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: ObjectArrayStructure(key, key_name, class_id, class_name, structures)
ObjectArrayStructure(key, key_name, class_id, class_name, structures)
Initializes a new instance of the ObjectArrayStructure class.
Parameters:
Parameter | Type | Description |
---|---|---|
key | int | The integer key. |
key_name | ClassID | The key name. |
class_id | ClassID | The class identifier. |
class_name | string | Name of the class. |
structures | OSTypeStructure[] | The structures. |
Constructor: ObjectArrayStructure(key_name, class_id_name, structures)
ObjectArrayStructure(key_name, class_id_name, structures)
Initializes a new instance of the ObjectArrayStructure class.
Parameters:
Parameter | Type | Description |
---|---|---|
key_name | string | Name of the key. |
class_id_name | string | Name of the class identifier. |
structures | OSTypeStructure[] | The structures. |
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. |