Lnk2Resource Class

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.9.0

Constructors

NameDescription
Lnk2Resource()Initializes a new instance of the Lnk2Resource 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 layer 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: 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:

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