ShmdResource Class

Summary: Class ShmdResource. Metadata settings

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

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

Inheritance: LayerResource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
ShmdResource()Initializes a new instance of the ShmdResource class.
ShmdResource(data)Initializes a new instance of the ShmdResource class.

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
SUB_RESOURCE_HEADER_LENGTH [static]intrThe sub resource header length
TYPE_TOOL_KEY [static]intrThe type tool info key.
keyintrGets the layer resource key.
layer_created_date_timedatetimer/wGets or sets the layer created time. If Layer created time not specified then returns new DateTime(0)
lengthintrGets the layer resource length in bytes.
psd_versionintrGets the psd version.
signatureintrGets the signature.
sub_resourcesLayerResource[]rGets the sub resources of shmd resource.

Methods

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

Constructor: ShmdResource()

 ShmdResource() 

Initializes a new instance of the ShmdResource class.

Constructor: ShmdResource(data)

 ShmdResource(data) 

Initializes a new instance of the ShmdResource class.

Parameters:

ParameterTypeDescription
databyteThe data of the resource.

Method: save(stream_container, psd_version)

 save(stream_container, psd_version) 

Saves the specified stream container.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
psd_versionintThe PSD version.