IDXSurfaceModifier::SetOpacity Method

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 the opacity of the foreground surface.

Syntax


HRESULT SetOpacity(
    float Opacity
);

Parameters

Opacity
[in] Value that indicates the opacity of the foreground surface. Values can range from 0.0 (fully transparent) to 1.0 (fully opaque).

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

The opacity value is applied to the foreground surface when it is composited over the background surface.

See Also

IDXSurfaceModifier::GetOpacity

Community Additions

ADD
Show:
© 2014 Microsoft