Sets a video window alpha blend value.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_SetVideoAlpha")] public static bool BASS_DSHOW_SetVideoAlpha( int handle, int win, int layer, float alpha )
Parameters
- handle
- Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)). - win
- Type: SystemInt32
A valid window handle as returned by BASS_DSHOW_ChannelAddWindow(Int32, IntPtr) or 0(zero) for the main video window. - layer
- Type: SystemInt32
The video layer (0...15). - alpha
- Type: SystemSingle
The new alpha blend value (0...100).
Return Value
Type: BooleanIf an error occurred then is returned, else is returned (use BASS_DSHOW_ErrorGetCode to get the error code).
See Also