Lnk2Resource Class
Contents
[
Hide
]Summary: Defines the class which contains information about embedded files in the PSD format image.
The link resource may contain several LiFdDataSource instances which can be accessed by the indexer.
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.Lnk2Resource
Inheritance: LinkResource
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| Lnk2Resource() | Initializes a new instance of the Lnk2Resource 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. |
| data_source_count | int | r | Gets the count of link data sources which can be accessed by the indexer. |
| is_empty | bool | r | Gets a value indicating whether this link resource instance is empty. |
| key | int | r | Gets the layer resource key. |
| length | int | r | Gets the PSD global link 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. |
Methods
| Name | Description |
|---|---|
| save(stream_container, psd_version) | Saves the resource block data. |
Constructor: Lnk2Resource()
Lnk2Resource()
Initializes a new instance of the Lnk2Resource class.
Method: save(stream_container, psd_version)
save(stream_container, psd_version)
Saves the resource block data.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream_container | StreamContainer | The stream container to save to. |
| psd_version | int | The PSD version. |