IDXBasicImage::XRay 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 the content is displayed as a grayscale defined by the complement of the average red and green component values.

Syntax


HRESULT IDXBasicImage::get_XRay(BOOL *pVal);HRESULT IDXBasicImage::put_XRay(BOOL newVal);

Parameters

pVal
Pointer to a variable of type BOOL that receives one of the possible values.
newVal
BOOL that specifies one of the possible values.

Possible Values

1 Display content in grayscale, using the complement of the average red and green component values.
0 Default. Display content with normal RGB values.

Return Value

Returns S_OK if successful, or an error value otherwise.

Show: