SmartObjectProvider.ConvertToSmartObject
ConvertToSmartObject(params int[])
Converts layers to an embedded smart object.
public SmartObjectLayer ConvertToSmartObject(params int[] layerNumbers)
Parameter | Type | Description |
---|---|---|
layerNumbers | Int32[] | The layer numbers. |
Return Value
The created SmartObjectLayer
instance.
Exceptions
exception | condition |
---|---|
PsdImageException | No layers to convert. or Layer number is out of range. |
See Also
- class SmartObjectLayer
- class SmartObjectProvider
- namespace Aspose.PSD.FileFormats.Psd
- assembly Aspose.PSD
ConvertToSmartObject(Layer[])
Converts layers to an embedded smart object.
public SmartObjectLayer ConvertToSmartObject(Layer[] layers)
Parameter | Type | Description |
---|---|---|
layers | Layer[] | The layers. |
Return Value
The created SmartObjectLayer
instance.
Exceptions
exception | condition |
---|---|
PsdImageException | No layers to convert. |
See Also
- class SmartObjectLayer
- class Layer
- class SmartObjectProvider
- namespace Aspose.PSD.FileFormats.Psd
- assembly Aspose.PSD