public final class LinkedLayersManager extends Object
Linked layers manager class.
| Modifier and Type | Method and Description |
|---|---|
Layer[] |
getLayersByLinkGroupId(short linkGroupId)
Gets layers by link group id.
|
short |
getLinkGroupId(Layer layer)
Gets the link group ID associated with the layer.
|
short |
linkLayers(Layer[] layers)
Links the input layers and return LingGroupId.
|
void |
unlinkLayer(Layer layer)
Unlinks the layer..
|
public final short linkLayers(Layer[] layers)
Links the input layers and return LingGroupId.
layers - The layers.com.aspose.ms.System.ArgumentNullException - The layers is null.com.aspose.ms.System.ArgumentException - The number of layers must be greater than 1.com.aspose.ms.System.ArgumentException - The container of each layer should be the same as the current PsdImage.public final void unlinkLayer(Layer layer)
Unlinks the layer..
layer - The layer.com.aspose.ms.System.ArgumentNullException - The layer is null.com.aspose.ms.System.ArgumentException - The container of the layer should be the same as the current PsdImage.public final Layer[] getLayersByLinkGroupId(short linkGroupId)
Gets layers by link group id.
linkGroupId - The link group id.public final short getLinkGroupId(Layer layer)
Gets the link group ID associated with the layer.
layer - The layer.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.