IDXBasicImage::GrayScale Property

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets or retrieves the value that indicates whether content is displayed as the average of the RGB component values.


HRESULT IDXBasicImage::get_GrayScale(BOOL *pVal);HRESULT IDXBasicImage::put_GrayScale(BOOL newVal);


Pointer to a variable of type BOOL that receives one of the following values:
BOOL that specifies one of the following values:

Possible Values

1 Display content as the grayscale average of the RGB values.
0 Default. Display content with normal RGB values.

Return Value

Returns S_OK if successful, or an error value otherwise.