ILayerResourceLoader Class
Summary: The layer resource loader.
Module: aspose.psd.fileformats.psd.layers
Full Name: aspose.psd.fileformats.psd.layers.ILayerResourceLoader
Aspose.PSD Version: 24.9.0
Methods
Name | Description |
---|---|
can_load(stream_container, psd_version) | Determines whether layer resource can be loaded from the specified StreamContainer. |
load(stream_container, psd_version) | Loads the LayerResource. |
Method: can_load(stream_container, psd_version)
can_load(stream_container, psd_version)
Determines whether layer resource can be loaded from the specified StreamContainer.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container. |
psd_version | int | The PSD version. |
Returns
Type | Description |
---|---|
bool |
Method: load(stream_container, psd_version)
load(stream_container, psd_version)
Loads the LayerResource.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container to load from. |
psd_version | int | The PSD version. |
Returns
Type | Description |
---|---|
LayerResource | The loaded resource. |