CustResource Class

Summary: Class CustResource.
This resource contains information about blending of clipped element.

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

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

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
CustResource()Initializes a new instance of the CustResource class.
CustResource(data)Initializes a new instance of the CustResource 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.
layer_created_date_timedatetimer/wGets or sets the layer created date.
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the psd version.
signatureintrGets the signature.

Methods

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

Constructor: CustResource()

 CustResource() 

Initializes a new instance of the CustResource class.

Constructor: CustResource(data)

 CustResource(data) 

Initializes a new instance of the CustResource class.

Parameters:

ParameterTypeDescription
databyteThe data of the resource.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the resource to the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to save to.
psd_versionintThe PSD version.