PixelFormatInfoHasAlpha Property

Gets or sets whether the represented pixel format has an alpha channel (transparency). For Indexed formats this property can be because alpha support is determined by the current palette. Setting this property to resets also the HasPremultipliedAlpha and HasSingleBitAlpha properties.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
C#
public bool HasAlpha {
	get;
 set; }

Property Value

Boolean

See Also