Layer.AddLayerMask
Layer.AddLayerMask method
Adds the mask to current layer.
public void AddLayerMask(LayerMaskData layerMask)
Parameter | Type | Description |
---|---|---|
layerMask | LayerMaskData | The layer mask. |
Exceptions
exception | condition |
---|---|
PsdImageException | Full layer mask is not supported for setting yet, please use LayerMaskDataShort |
See Also
- class LayerMaskData
- class Layer
- namespace Aspose.PSD.FileFormats.Psd.Layers
- assembly Aspose.PSD