LnkeResource Class
Contents
[
Hide
]Summary: Defines the LnkeResource class that contains information about external linked files or assets in the PSD format image.
The link resource may contain several LiFeDataSource instances which can be accessed by indexer.
This is a part of PSD File Format Manipulation API that helps to modify Adobe® Photoshop® files programmatically
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.LnkeResource
Inheritance: LinkResource
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
LnkeResource() | Initializes a new instance of the LnkeResource class. |
LnkeResource(data_sources) | Initializes a new instance of the LnkeResource 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 Adobe® Photoshop® global resource key. |
length | int | r | Gets the PSD global link resource length in bytes. |
psd_version | int | r | Gets the PSD format version. |
signature | int | r | Gets the PSD global link resource signature. |
Methods
Name | Description |
---|---|
save(stream_container, psd_version) | Saves the resource block data. |
Constructor: LnkeResource()
LnkeResource()
Initializes a new instance of the LnkeResource class.
Constructor: LnkeResource(data_sources)
LnkeResource(data_sources)
Initializes a new instance of the LnkeResource class.
Parameters:
Parameter | Type | Description |
---|---|---|
data_sources | LinkDataSource[] | The data sources. |
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. |