LinkResource Class

Summary: Defines the LinkResource class that contains information about linked or embedded files in the PSD format image.
The link resource may contain several LinkDataSource instances which can be accessed by indexers in any derived class.

Module: aspose.psd.fileformats.psd.layers.layerresources

Full Name: aspose.psd.fileformats.psd.layers.layerresources.LinkResource

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
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.

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.