This property sets whether or not the alpha channel is used when the LayerImage method is executed
[C++Builder] imagekitcontrolname->Effect->LayerAlphaChannel
[= bool ]
[Delphi] imagekitcontrolname.Effect.LayerAlphaChannel
[= Boolean ]
Property Value
Value | Explanation |
---|---|
True | The alpha channel is used |
False | The alpha channel is ignored (default value) |
Explanation
The LayerAlphaChannel property sets whether or not the alpha channel is used when the LayerImage method is executed. (When the alpha channel is used, the LayerImage method's Trans parameter is disabled.)
One example of a common use of this property is when an PNG image containing an alpha channel is layered into a JPEG image.
Setting this value
This value can be set during execution.
Retrieving this value
This value can be retrieved during execution.