PsdImageActiveLayer Property
Gets or sets the active layer.

Namespace: Aspose.PSD.FileFormats.Psd
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 20.6
Syntax
public Layer ActiveLayer { get; set; }

Property Value

Type: Layer
The active layer.
Exceptions
ExceptionCondition
TiffImageExceptionThere is no active layer and no layers in image.
PsdImageExceptionThe active layer cannot be set as it belongs to another image.
See Also