LinkDataSource

LinkDataSource class

Defines the LinkDataSource class that contains information about a linked file or an asset in the PSD file.

public abstract class LinkDataSource

Properties

Name Description
AssetLockedState { get; set; } Gets or sets a value indicating whether the PSD asset is locked. The asset locked state, for Adobe® Photoshop® СС Libraries assets.
AssetModTime { get; set; } Gets or sets the asset modified time, for Adobe® Photoshop® СС Libraries assets.
ChildDocId { get; set; } Gets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.
CompId { get; set; } Gets 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
FileCreator { get; set; } Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.
FileType { get; set; } Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.
HasFileOpenDescriptor { get; set; } Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.
IsLibraryLink { get; } Gets a value indicating whether this PSD link data source links to the Adobe® Photoshop® СС Library item.
Length { get; } Gets the link data source length in bytes.
OriginalCompId { get; } Gets 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
OriginalFileName { get; } Gets the original file name of the data source in the Adobe® Photoshop® global link resource.
Type { get; } Gets 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
UniqueId { get; } Gets the global unique identifier of the data source in the PSD link resource.
Version { get; } Gets the version of the data source in the PSD LnkE / Lnk2 resource.

See Also