IDXBasicImage::Opacity 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 opacity level that is applied to the content of an object.

Syntax


HRESULT IDXBasicImage::get_Opacity(float *pVal);HRESULT IDXBasicImage::put_Opacity(float newVal);

Parameters

pVal
Pointer to a variable of type float that receives the opacity level. The value can range from 0.0 to 1.0.
newVal
float that specifies the opacity level. The value can range from 0.0 to 1.0.

Possible Values

0.0 Transparent.
1.0 Default. Opaque.

Return Value

Returns S_OK if successful, or an error value otherwise.

Show: