PropertyStructure Class

Summary: The property structure.

Module: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures

Full Name: aspose.psd.fileformats.psd.layers.layerresources.typetoolinfostructures.PropertyStructure

Inheritance: OSTypeStructure

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
PropertyStructure(key_name, class_id, key_id)Initializes a new instance of the PropertyStructure class.

Properties

NameTypeAccessDescription
STRUCTURE_KEY [static]intrIdentifies the structure key.
class_idClassIDr/wGets or sets the class ID.
class_namestringr/wGets or sets the class name.
keyintrGets the structure key.
key_idClassIDr/wGets or sets the key ID.
key_nameClassIDr/wGets or sets the key name.
lengthintrGets the OSTypeStructure length in bytes.

Methods

NameDescription
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: PropertyStructure(key_name, class_id, key_id)

 PropertyStructure(key_name, class_id, key_id) 

Initializes a new instance of the PropertyStructure class.

Parameters:

ParameterTypeDescription
key_nameClassIDName of the key.
class_idClassIDThe class ID.
key_idClassIDThe key ID.

Method: get_header_length()

 get_header_length() 

Gets the header length.

Returns

TypeDescription
intThe header length

Method: save(stream_container)

 save(stream_container) 

Saves the structure to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.

Method: save_without_key_name(stream_container)

 save_without_key_name(stream_container) 

Saves the structure to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.