SetExcludeAlpha method

Sets a value that indicates whether the alpha channel should be filtered with the color data.

Syntax

HRESULT retVal = object.SetExcludeAlpha(bExcludeAlpha);

Parameters

  • bExcludeAlpha [in]
    Type: BOOL

    BOOL that indicates whether the alpha channel of an image should be filtered. If TRUE, only the RGB color components are modified by the filter. If FALSE, the weighted alpha value is written to the output sample with the color value.