Table of Contents

Class CvTrackbar

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Trackbar that is shown on an OpenCV Window

public sealed class CvTrackbar
Inheritance
CvTrackbar
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

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

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.