Lnk2Resource Class
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.
Inheritance Hierarchy
SystemObject
  Aspose.PSD.FileFormats.Psd.LayersLayerResource
    Aspose.PSD.FileFormats.Psd.Layers.LayerResourcesLinkResource
      Aspose.PSD.FileFormats.Psd.Layers.LayerResourcesLnk2Resource
        Aspose.PSD.FileFormats.Psd.Layers.LayerResourcesLnk3Resource

Namespace: Aspose.PSD.FileFormats.Psd.Layers.LayerResources
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 21.12
Syntax
public class Lnk2Resource : LinkResource

The Lnk2Resource type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleLnk2Resource
Initializes a new instance of the Lnk2Resource class.
Properties
  NameDescription
Public propertyDataSourceCount
Gets the count of link data sources which can be accessed by the indexer.
(Inherited from LinkResource.)
Public propertyIsEmpty
Gets a value indicating whether this link resource instance is empty.
(Inherited from LinkResource.)
Public propertyCode exampleItemGuid
Gets the LinkDataSource at the specified index which is the link data source unique identifier..
(Inherited from LinkResource.)
Public propertyCode exampleItemInt32
Gets the LiFdDataSource at the specified index.
Public propertyKey
Gets the layer resource key.
(Overrides LayerResourceKey.)
Public propertyLength
Gets the PSD global link resource length in bytes.
(Inherited from LinkResource.)
Public propertyPsdVersion
Gets the PSD format version.
(Inherited from LinkResource.)
Public propertySignature
Gets the PSD global link resource signature.
(Inherited from LinkResource.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave
Saves the resource block data.
(Inherited from LinkResource.)
Protected methodSaveResourceHeader
Saves the resource header.
(Inherited from LayerResource.)
Public methodToString
Returns a String that represents this instance.
(Inherited from LayerResource.)
Fields
  NameDescription
Public fieldStatic memberTypeToolKey
The type tool info key.
See Also