SmartObjectProvider.ConvertToSmartObject
ConvertToSmartObject(params int[])
将图层转换为嵌入式智能对象。
public SmartObjectLayer ConvertToSmartObject(params int[] layerNumbers)
| 范围 | 类型 | 描述 |
|---|---|---|
| layerNumbers | Int32[] | 层数。 |
返回值
创建的SmartObjectLayer实例.
例外
| 例外 | (健康)状况 |
|---|---|
| PsdImageException | 没有要转换的层。 or 层数超出范围。 |
也可以看看
- class SmartObjectLayer
- class SmartObjectProvider
- 命名空间 Aspose.PSD.FileFormats.Psd
- 部件 Aspose.PSD
ConvertToSmartObject(Layer[])
将图层转换为嵌入式智能对象。
public SmartObjectLayer ConvertToSmartObject(Layer[] layers)
| 范围 | 类型 | 描述 |
|---|---|---|
| layers | Layer[] | 图层。 |
返回值
创建的SmartObjectLayer实例.
例外
| 例外 | (健康)状况 |
|---|---|
| PsdImageException | 没有要转换的图层。 |
也可以看看
- class SmartObjectLayer
- class Layer
- class SmartObjectProvider
- 命名空间 Aspose.PSD.FileFormats.Psd
- 部件 Aspose.PSD