GetConvertToGray method

Retrieves a value that indicates whether the filter output color is converted to grayscale.

Syntax

HRESULT retVal = object.GetConvertToGray(pbConvertToGray);

Parameters

  • pbConvertToGray [out]
    Type: BOOL

    Pointer to a BOOL that indicates whether an image is converted to grayscale after a convolution. If TRUE, the colors of the image are converted to gray after filtering.