Table of Contents

Class CvTrackbar

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Trackbar that is shown on OpenCV Window

public class CvTrackbar : DisposableObject, IDisposable
Inheritance
CvTrackbar
Implements
Inherited Members

Properties

Callback

public TrackbarCallback Callback { get; }

Property Value

TrackbarCallback

Pos

Gets or sets a numeric value that represents the current position of the scroll box on the track bar.

public int Pos { get; set; }

Property Value

int

Result

Result value of cv::createTrackbar

public int Result { get; }

Property Value

int

TrackbarName

Name of this trackbar

public string TrackbarName { get; }

Property Value

string

WindowName

Name of parent window

public string WindowName { get; }

Property Value

string

Methods

DisposeUnmanaged()

Releases unmanaged resources

protected override void DisposeUnmanaged()

SetMax(int)

Sets the trackbar maximum position. The function sets the maximum position of the specified trackbar in the specified window.

public void SetMax(int maxVal)

Parameters

maxVal int

New maximum position.

SetMin(int)

Sets the trackbar minimum position. The function sets the minimum position of the specified trackbar in the specified window.

public void SetMin(int minVal)

Parameters

minVal int

New minimum position.