Class CvTrackbar
Trackbar that is shown on OpenCV Window
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class CvTrackbar : DisposableObject
Properties
| Improve this Doc View SourceCallback
Declaration
public TrackbarCallback Callback { get; }
Property Value
Type | Description |
---|---|
TrackbarCallback |
Pos
Gets or sets a numeric value that represents the current position of the scroll box on the track bar.
Declaration
public int Pos { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Result
Result value of cv::createTrackbar
Declaration
public int Result { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
TrackbarName
Name of this trackbar
Declaration
public string TrackbarName { get; }
Property Value
Type | Description |
---|---|
System.String |
WindowName
Name of parent window
Declaration
public string WindowName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDisposeUnmanaged()
Releases unmanaged resources
Declaration
protected override void DisposeUnmanaged()
Overrides
| Improve this Doc View SourceSetMax(Int32)
Sets the trackbar maximum position. The function sets the maximum position of the specified trackbar in the specified window.
Declaration
public void SetMax(int maxVal)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxVal | New maximum position. |
SetMin(Int32)
Sets the trackbar minimum position. The function sets the minimum position of the specified trackbar in the specified window.
Declaration
public void SetMin(int minVal)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | minVal | New minimum position. |