CustomBitmapDataConfigBackColor Property

Gets or sets a Color32 value for pixel formats without alpha gradient support that specifies the BackColor value of the created bitmap data. It does not affect the actual created bitmap content. The alpha value (Color32.A field) of the specified background color is ignored.
Default value: The default value of the Color32 type, which has the same RGB values as Black.
See the Remarks section of the CreateBitmapData(Size, KnownPixelFormat, WorkingColorSpace, Color32, Byte) method for details about back color and alpha threshold.

Definition

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

Property Value

Color32

See Also