LyidResource Class

Summary: Class LyidResource.

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

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

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
LyidResource(bytes)Initializes a new instance of the LyidResource class.
With custom or unknown value
LyidResource(id)Initializes a new instance of the LyidResource 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.
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the psd version.
signatureintrGets the signature.
valueintrGets the value.

Methods

NameDescription
save(stream_container, psd_version)Saves to the specified stream container.

Constructor: LyidResource(bytes)

 LyidResource(bytes) 

Initializes a new instance of the LyidResource class.
With custom or unknown value

Parameters:

ParameterTypeDescription
bytesbyteThe bytes.

Constructor: LyidResource(id)

 LyidResource(id) 

Initializes a new instance of the LyidResource class.

Parameters:

ParameterTypeDescription
idintThe identifier of layer.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
psd_versionintThe PSD version.