CvCreateButton Method (String, CvButtonCallback, Object) OpenCvSharp Class Library
Create a button on the control panel

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

public static int CreateButton(
	string name,
	CvButtonCallback callback,
	Object userdata
)

Parameters

name
Type: SystemString
Name of the button ( if null, the name will be “button <number of boutton>”)
callback
Type: OpenCvSharpCvButtonCallback
Pointer to the function to be called every time the button changed its state.
userdata
Type: SystemObject
object passed to the callback function.

Return Value

Type: Int32

[Missing <returns> documentation for "M:OpenCvSharp.Cv.CreateButton(System.String,OpenCvSharp.CvButtonCallback,System.Object)"]

See Also

Reference