UnknownResource Class

Summary: The unknown resource.

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

Full Name: aspose.psd.fileformats.psd.layers.layerresources.UnknownResource

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
UnknownResource(signature, key)Initializes a new instance of the UnknownResource class.

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
databyter/wGets or sets the data.
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the minimal psd version required for layer resource. 0 indicates no restrictions.
signatureintrGets the layer resource signature.

Methods

NameDescription
save(stream_container, psd_version)Saves the specified stream container.

Constructor: UnknownResource(signature, key)

 UnknownResource(signature, key) 

Initializes a new instance of the UnknownResource class.

Parameters:

ParameterTypeDescription
signatureintThe signature.
keyintThe resource key.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
psd_versionintThe PSD version.