BASS.NET API for the Un4seen BASS Audio LibraryBassSfxBASS_SFX_PluginResizeMove Method BASS.NET API for the Un4seen BASS Audio Library
Resizes and moves a visual plugin.

Namespace: Un4seen.Bass.AddOn.Sfx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("bass_sfx.dll", CharSet = CharSet.Auto)]
public static bool BASS_SFX_PluginResizeMove(
	int handle,
	int left,
	int top,
	int width,
	int height
)

Parameters

handle
Type: SystemInt32
The SFX plugin handle (as obtained by BASS_SFX_PluginCreate(String, IntPtr, Int32, Int32, BASSSFXFlag)).
left
Type: SystemInt32
The new left location of your visual window.
top
Type: SystemInt32
The new top location of your visual window.
width
Type: SystemInt32
The new width of your visual window.
height
Type: SystemInt32
The new height of your visual window.

Return Value

Type: Boolean
If successful, then is returned, else is returned.
Remarks

You must have created a plugin object using BASS_SFX_PluginCreate(String, IntPtr, Int32, Int32, BASSSFXFlag) before you can use this function.

ERROR CODEDescription
BASS_SFX_ERROR_INITBASS_SFX_Init(IntPtr, IntPtr) has not been successfully called.
BASS_SFX_ERROR_HANDLEInvalid SFX handle.
BASS_SFX_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference