SmartResourceCreator Class
Contents
[
Hide
]Summary: Defines the SmartResourceCreator class that can create PlLd, SoLd and SoLe resources.
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.SmartResourceCreator
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
SmartResourceCreator() | Initializes a new instance of the SmartResourceCreator class. |
SmartResourceCreator(is_custom, has_comp_info) | Initializes a new instance of the SmartResourceCreator class. |
SmartResourceCreator(template) | Initializes a new instance of the SmartResourceCreator class with the given template. |
Methods
Name | Description |
---|---|
generate_placed_resource() | Generates the placed resource. |
generate_smart_embedded_resource() | Generates the embedded smart object resource. |
generate_smart_external_resource() | Generates the external smart object resource. |
Constructor: SmartResourceCreator()
SmartResourceCreator()
Initializes a new instance of the SmartResourceCreator class.
Constructor: SmartResourceCreator(is_custom, has_comp_info)
SmartResourceCreator(is_custom, has_comp_info)
Initializes a new instance of the SmartResourceCreator class.
Parameters:
Parameter | Type | Description |
---|---|---|
is_custom | bool | if set to |
has_comp_info | bool | if set to |
Constructor: SmartResourceCreator(template)
SmartResourceCreator(template)
Initializes a new instance of the SmartResourceCreator class
with the given template.
Parameters:
Parameter | Type | Description |
---|---|---|
template | PlacedResource | The smart object resource template. |
Method: generate_placed_resource()
generate_placed_resource()
Generates the placed resource.
Returns
Type | Description |
---|---|
PlLdResource | The generated PlLdResource instance. |
Method: generate_smart_embedded_resource()
generate_smart_embedded_resource()
Generates the embedded smart object resource.
Returns
Type | Description |
---|---|
SoLdResource | The generated SoLdResource instance. |
Method: generate_smart_external_resource()
generate_smart_external_resource()
Generates the external smart object resource.
Returns
Type | Description |
---|---|
SoLeResource | The generated SoLeResource instance. |