LiFeDataSource Class

Summary: Defines the LnkeDataSource class that contains information about external linked file.
This is part of PSD File Format Manipulation API that helps to modify Adobe® Photoshop® files

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

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

Inheritance: LinkDataSource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
LiFeDataSource()Initializes a new instance of the LiFeDataSource class.
LiFeDataSource(version, unique_id, original_file_name, file_type, file_creator)Initializes a new instance of the LiFeDataSource class.

Properties

NameTypeAccessDescription
adobe_stock_idstringr/wGets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
adobe_stock_license_statestringrGets the state of the adobe stock license if available, for Adobe® Photoshop® CC libraries.
asset_locked_stateboolr/wGets or sets a value indicating whether the PSD asset is locked.
The asset locked state, for Adobe® Photoshop® СС Libraries assets.
asset_mod_timedoubler/wGets or sets the asset modified time, for Adobe® Photoshop® СС Libraries assets.
child_doc_idstringr/wGets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.
comp_idintr/wGets or sets the ID of the currently selected comp for the child document, which will be -1 if none are selected.
Comps are compositions of a page layout which designers can create. Using layer comps, you can create, manage, and view multiple versions
of a layout in a single Adobe® Photoshop® file. A layer comp is a snapshot of a state of the Layers panel. Layer comps save three types of layer options but
this property gets the Layer Comp selection identifier for Smart Objects.
Layer comps in Smart Objects
datedatetimer/wGets or sets the last write date and time of the external file in the LiFE data source of the PSD LnkE resource.
element_namestringr/wGets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
element_refstringr/wGets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
file_creatorstringr/wGets or sets the file creator in the PSD format LnkE / Lnk2 resource.
file_namestringr/wGets or sets the name of the external or embedded file in the PSD link resource .
file_sizelongr/wGets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
file_typestringr/wGets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.
full_pathstringr/wGets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
has_file_open_descriptorboolr/wGets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.
is_library_linkboolrGets a value indicating whether this PSD link data source links to the Adobe® Photoshop® СС Library item.
lengthlongrGets the link data source length in bytes.
original_comp_idintrGets the original ID of the currently selected Comp for the child document, which will be -1 if none are selected.
This property gets the original layer Comp selection identifier for Smart Objects.
Layer comps in Smart Objects
original_file_namestringrGets the original file name of the data source in the Adobe® Photoshop® global link resource.
relative_pathstringr/wGets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
typeLinkDataSourceTyperGets the Adobe® Photoshop® global link data source type that can be one of the following or none:
The embedded linked file liFD that corresponds to the PSD Lnk2Resource
The external linked file liFE that corresponds to the PSD LnkeResource
The linked file alias liFA
unique_idGuidrGets the global unique identifier of the data source in the PSD link resource.
versionintrGets the version of the data source in the PSD LnkE / Lnk2 resource.

Constructor: LiFeDataSource()

 LiFeDataSource() 

Initializes a new instance of the LiFeDataSource class.

Constructor: LiFeDataSource(version, unique_id, original_file_name, file_type, file_creator)

 LiFeDataSource(version, unique_id, original_file_name, file_type, file_creator) 

Initializes a new instance of the LiFeDataSource class.

Parameters:

ParameterTypeDescription
versionintThe version.
unique_idGuidThe unique identifier.
original_file_namestringName of the original file.
file_typestringType of the file.
file_creatorstringThe file creator.