Share via


IDxtAlphaSetter::put_Alpha

 
Microsoft DirectShow 9.0

IDxtAlphaSetter::put_Alpha

The put_Alpha method specifies the alpha value for the entire image.

Syntax

  HRESULT put_Alpha(
    long Alpha
);

Parameters

Alpha

[in] Specifies the alpha value. This value will be applied to the entire target image. To disable this property, set a negative value.

Return Values

Returns S_OK or an error code.

Remarks

If you set this property to a non-negative value, you must also disable the alpha ramp property, by calling put_AlphaRamp with a negative value. Otherwise the effect will not render correctly.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also