Layer.AddLayerMask

Layer.AddLayerMask method

Adds the mask to current layer.

public void AddLayerMask(LayerMaskData layerMask)
ParameterTypeDescription
layerMaskLayerMaskDataThe layer mask.

Exceptions

exceptioncondition
PsdImageExceptionFull layer mask is not supported for setting yet, please use LayerMaskDataShort

See Also