WindowCreateTrackbar2 Method OpenCvSharp Class Library
Creates the trackbar and attaches it to this window

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvTrackbar CreateTrackbar2(
	string name,
	int value,
	int max,
	CvTrackbarCallback2 callback,
	Object userdata
)

Parameters

name
Type: SystemString
Name of created trackbar.
value
Type: SystemInt32
The position of the slider
max
Type: SystemInt32
Maximal position of the slider. Minimal position is always 0.
callback
Type: OpenCvSharpCvTrackbarCallback2
the function to be called every time the slider changes the position. This function should be prototyped as void Foo(int);
userdata
Type: SystemObject

[Missing <param name="userdata"/> documentation for "M:OpenCvSharp.CPlusPlus.Window.CreateTrackbar2(System.String,System.Int32,System.Int32,OpenCvSharp.CvTrackbarCallback2,System.Object)"]

Return Value

Type: CvTrackbar

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Window.CreateTrackbar2(System.String,System.Int32,System.Int32,OpenCvSharp.CvTrackbarCallback2,System.Object)"]

See Also

Reference