LnsrResource Class
Contents
[
Hide
]Summary: Class lnsrResource.
Module: aspose.psd.fileformats.psd.layers.layerresources
Full Name: aspose.psd.fileformats.psd.layers.layerresources.LnsrResource
Inheritance: LayerResource
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
LnsrResource(bytes) | Initializes a new instance of the LnsrResource class. With custom or unknown value |
LnsrResource(lnsr_resource_type) | Initializes a new instance of the LnsrResource class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
PSB_RESOURCE_SIGNATURE [static] | int | r | The PSB-specific resource signature. |
RESOURCE_SIGNATURE [static] | int | r | The common resource signature. |
TYPE_TOOL_KEY [static] | int | r | The type tool info key. |
data | byte | r | Gets the raw data. |
key | int | r | Gets the layer resource key. |
length | int | r | Gets the layer resource length in bytes. |
psd_version | int | r | Gets the psd version. |
signature | int | r | Gets the signature. |
value | LnsrResourceType | r | Gets the value as LnsrResourceType if corresponding enum is described. Otherwise return Unknown |
Methods
Name | Description |
---|---|
save(stream_container, psd_version) | Saves the specified stream container. |
Constructor: LnsrResource(bytes)
LnsrResource(bytes)
Initializes a new instance of the LnsrResource class.
With custom or unknown value
Parameters:
Parameter | Type | Description |
---|---|---|
bytes | byte | The bytes. |
Constructor: LnsrResource(lnsr_resource_type)
LnsrResource(lnsr_resource_type)
Initializes a new instance of the LnsrResource class.
Parameters:
Parameter | Type | Description |
---|---|---|
lnsr_resource_type | LnsrResourceType | Type of the LNSR. |
Method: save(stream_container, psd_version)
save(stream_container, psd_version)
Saves the specified stream container.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container. |
psd_version | int | The PSD version. |