SmartObjectProvider Class
Summary: Defines the smart object provider that provides getting / setting data sources from global link resources of the PSD file and their contents.
Module: aspose.psd.fileformats.psd
Full Name: aspose.psd.fileformats.psd.SmartObjectProvider
Aspose.PSD Version: 24.9.0
Methods
Name | Description |
---|---|
convert_to_smart_object(layer_numbers) | Converts layers to an embedded smart object. |
convert_to_smart_object(layers) | Converts layers to an embedded smart object. |
embed_all_linked() | Embeds all linked smart objects in the image. |
new_smart_object_via_copy(source_layer) | Creates a new smart object layer by coping the source one. |
update_all_modified_content() | Updates the content of all modified smart objects in the image. |
Method: convert_to_smart_object(layer_numbers)
convert_to_smart_object(layer_numbers)
Converts layers to an embedded smart object.
Parameters:
Parameter | Type | Description |
---|---|---|
layer_numbers | int | The layer numbers. |
Returns
Type | Description |
---|---|
SmartObjectLayer | The created SmartObjectLayer instance. |
Method: convert_to_smart_object(layers)
convert_to_smart_object(layers)
Converts layers to an embedded smart object.
Parameters:
Parameter | Type | Description |
---|---|---|
layers | Layer[] | The layers. |
Returns
Type | Description |
---|---|
SmartObjectLayer | The created SmartObjectLayer instance. |
Method: new_smart_object_via_copy(source_layer)
new_smart_object_via_copy(source_layer)
Creates a new smart object layer by coping the source one.
Parameters:
Parameter | Type | Description |
---|---|---|
source_layer | SmartObjectLayer | The source layer. |
Returns
Type | Description |
---|---|
SmartObjectLayer | The cloned SmartObjectLayer instance. |