WorkingPathResource Class

Summary: Working path resource.

Module: aspose.psd.fileformats.psd.resources

Full Name: aspose.psd.fileformats.psd.resources.WorkingPathResource

Inheritance: IVectorPathData, ResourceBlock

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
WorkingPathResource(data_bytes)Initializes a new instance of the WorkingPathResource class.

Properties

NameTypeAccessDescription
RESOUCE_BLOCK_ME_SA_SIGNATURE [static]intrThe resource signature of ImageReady.
RESOUCE_BLOCK_SIGNATURE [static]intrThe regular Photoshop resource signature.
data_sizeintrGets the resource data size in bytes.
idshortr/wGets or sets the unique identifier for the resource.
is_disabledboolr/wGets or sets a value indicating whether this instance is disabled.
is_invertedboolr/wGets or sets a value indicating whether this instance is inverted.
is_not_linkedboolr/wGets or sets a value indicating whether this instance is not linked.
minimal_versionintrGets the minimal required PSD version.
namestringr/wGets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
pathsVectorPathRecord[]r/wGets or sets the path records.
signatureintrGets the resource signature. Should be always ‘8BIM’.
sizeintrGets the resource block size in bytes including its data.
versionintr/wGets or sets the version.

Methods

NameDescription
save(stream)Saves the resource block to the specified stream.
validate_values()Validates the resource values.

Constructor: WorkingPathResource(data_bytes)

 WorkingPathResource(data_bytes) 

Initializes a new instance of the WorkingPathResource class.

Parameters:

ParameterTypeDescription
data_bytesbyteThe data of the vector path.

Method: save(stream)

 save(stream) 

Saves the resource block to the specified stream.

Parameters:

ParameterTypeDescription
streamStreamContainerThe stream to save the resource block to.