SoCoResource Class

Summary: Class SoCoResource.
This resource contains information about Color Fill Layers

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

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

Inheritance: FillLayerResource

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
SoCoResource()Initializes a new instance of the SoCoResource 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.
colorColorr/wGets the RGB color .
keyintrGets the layer resource key.
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the minimal psd version required for layer resource. 0 indicates no restrictions.
signatureintrGets the layer resource signature.

Methods

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

Constructor: SoCoResource()

 SoCoResource() 

Initializes a new instance of the SoCoResource class.

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.