Sets the opacity of the foreground surface.
HRESULT retVal = object.SetOpacity(Opacity);
- Opacity [in]
Value that indicates the opacity of the foreground surface. Values can range from 0.0 (fully transparent) to 1.0 (fully opaque).
The opacity value is applied to the foreground surface when it is composited over the background surface.