SetConvertToGray method

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


HRESULT retVal = object.SetConvertToGray(bConvertToGray);


  • bConvertToGray [in]
    Type: BOOL

    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.