PlacedResource Class

Summary: Defines the PlacedResource class that contains common information about a placed layer or a smart object layer in the PSD file.
Is is used to support smart object layers in the Adobe® Photoshop® images.

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

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

Inheritance: IPlacedLayerResource, LayerResource

Aspose.PSD Version: 24.9.0

Properties

NameTypeAccessDescription
PSB_RESOURCE_SIGNATURE [static]intrThe PSB-specific resource signature.
RESOURCE_SIGNATURE [static]intrThe common resource signature.
anti_alias_policyintr/wGets or sets the anti alias policy of the placed layer in the PSD image.
bottomdoubler/wGets or sets the bottom location of the placed layer in the PSD image.
boundsRectangler/wGets or sets the bounds of the placed layer in the PSD file.
horizontal_mesh_point_unitUnitTypesr/wGets or sets the measure unit of the horizontal mesh points.
horizontal_mesh_pointsdoubler/wGets or sets the horizontal mesh points of the placed layer in the PSD file.
is_customboolr/wGets or sets a value indicating whether this instance warp style is custom.
If true it contains mesh points. If set to false it erases mesh points.
itemsOSTypeStructure[]r/wGets or sets the warp items.
keyintrGets the layer resource key.
leftdoubler/wGets or sets the left location of the placed layer in the PSD file.
lengthintrGets the layer resource length in bytes.
page_numberintr/wGets or sets the page number of the placed layer in the PSD file.
perspectivedoubler/wGets or sets the perspective value of the placed layer in the PSD file.
perspective_otherdoubler/wGets or sets the perspective other value of the placed layer in the PSD file.
placed_layer_typePlacedLayerTyper/wGets or sets the type of the placed layer in the PSD file.
psd_versionintrGets the minimal psd version required for layer resource. 0 indicates no restrictions.
rightdoubler/wGets or sets the right location of the placed layer in the PSD file.
signatureintrGets the Placed resource signature.
topdoubler/wGets or sets the top location of the placed layer in the PSD image.
total_pagesintr/wGets or sets the total pages of the placed layer in the PSD file.
transform_matrixdoubler/wGets or sets the transform matrix of the placed layer in the PSD file.
u_orderintr/wGets or sets the U order value of the placed layer in the PSD file.
unique_idGuidr/wGets or sets the global unique identifier of the placed layer in the PSD image.
v_orderintr/wGets or sets the V order value of the placed layer in the PSD file.
valuedoubler/wGets or sets the warp value of the placed layer in the PSD image.
versionintrGets the version of the placed layer in the PSD file, usually 3.
vertical_mesh_point_unitUnitTypesr/wGets or sets the measure unit of the vertical mesh points.
vertical_mesh_pointsdoubler/wGets or sets the horizontal mesh points of the placed layer in the PSD file.

Methods

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

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.