This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.HasAlpha Property

Specifies whether current pixel format supports alpha channel (information about opacity of pixels).

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public ReadOnly Property HasAlpha As Boolean
C#
public bool HasAlpha { get; }

Property Value

If true, current pixel format supports alpha channel, if false, no transparency information can be stored in current bitmap.

Examples

Visual Basic
Console.WriteLine("Alpha: " & bitmap.HasAlpha)
C#
Console.WriteLine("Alpha: " + bitmap.HasAlpha);

See Also

Reference