LyidResource Class
Contents
[
Hide
]Summary: Class LyidResource.
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.LyidResource
Inheritance: LayerResource
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| LyidResource(bytes) | Initializes a new instance of the LyidResource class. With custom or unknown value |
| LyidResource(id) | Initializes a new instance of the LyidResource 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. |
| TYPE_TOOL_KEY [static] | int | r | The type tool info key. |
| 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 signature. |
| value | int | r | Gets the value. |
Methods
| Name | Description |
|---|---|
| save(stream_container, psd_version) | Saves to the specified stream container. |
Constructor: LyidResource(bytes)
LyidResource(bytes)
Initializes a new instance of the LyidResource class.
With custom or unknown value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| bytes | byte | The bytes. |
Constructor: LyidResource(id)
LyidResource(id)
Initializes a new instance of the LyidResource class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | int | The identifier of layer. |
Method: save(stream_container, psd_version)
save(stream_container, psd_version)
Saves to the specified stream container.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream_container | StreamContainer | The stream container. |
| psd_version | int | The PSD version. |