Creates the trackbar and attaches it to this window
Namespace: OpenCvSharp.UserInterface
Assembly: OpenCvSharp.UserInterface (in OpenCvSharp.UserInterface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public TrackbarWithLabel CreateTrackbar( string name, int value, int count, CvTrackbarCallback onChange )
Parameters
- name
- Type: SystemString
Name of created trackbar. - value
- Type: SystemInt32
The position of the slider - count
- Type: SystemInt32
Maximal position of the slider. Minimal position is always 0. - onChange
- Type: OpenCvSharpCvTrackbarCallback
the function to be called every time the slider changes the position. This function should be prototyped as void Foo(int);
Return Value
Type: TrackbarWithLabel[Missing <returns> documentation for "M:OpenCvSharp.UserInterface.CvWindowEx.CreateTrackbar(System.String,System.Int32,System.Int32,OpenCvSharp.CvTrackbarCallback)"]
See Also