UnknownResource Class
Contents
[
Hide
]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.12.0
Constructors
| Name | Description | 
|---|---|
| UnknownResource(signature, key) | Initializes a new instance of the UnknownResource class. | 
Properties
| Name | Type | Access | Description | 
|---|---|---|---|
| PSB_RESOURCE_SIGNATURE [static] | int | r | The PSB-specific resource signature. | 
| RESOURCE_SIGNATURE [static] | int | r | The common resource signature. | 
| data | byte | r/w | Gets or sets the data. | 
| key | int | r | Gets the layer resource key. | 
| length | int | r | Gets the layer resource length in bytes. | 
| psd_version | int | r | Gets the minimal psd version required for layer resource. 0 indicates no restrictions. | 
| signature | int | r | Gets the layer resource signature. | 
Methods
| Name | Description | 
|---|---|
| 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:
| Parameter | Type | Description | 
|---|---|---|
| signature | int | The signature. | 
| key | int | The resource key. | 
Method: save(stream_container, psd_version)
 save(stream_container, psd_version) 
Saves the specified stream container.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| stream_container | StreamContainer | The stream container. | 
| psd_version | int | The PSD version. |