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

PixelFormatConverter.BackgroundColor Property

Gets/sets a background color used when alpha channel is flatten.

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


Visual Basic
Public Property BackgroundColor As Color
public Color BackgroundColor { get; set; }

Property Value

Color value specifying a background color.


This property makes sense only when you convert from pixel format which supports alpha channel to pixel format which does not. If you do not want to flatten alpha in such cases, and just want to discard it without re-calculating of the color channels, you should set property BackgroundEnabled to false.

Default value is white color.

See Also