LnkeResource Class

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

NameDescription
LnkeResource()Initializes a new instance of the LnkeResource class.
LnkeResource(data_sources)Initializes a new instance of the LnkeResource class.

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
TYPE_TOOL_KEY [static]intrThe type tool info key.
data_source_countintrGets the count of link data sources which can be accessed by the indexer.
is_emptyboolrGets a value indicating whether this link resource instance is empty.
keyintrGets the Adobe® Photoshop® global resource key.
lengthintrGets the PSD global link resource length in bytes.
psd_versionintrGets the PSD format version.
signatureintrGets the PSD global link resource signature.

Methods

NameDescription
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:

ParameterTypeDescription
data_sourcesLinkDataSource[]The data sources.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the resource block data.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.
psd_versionintThe PSD version.