http://www.emgu.com
Get the rectangle defined by the two points on the control

Namespace: Emgu.CV.UI
Assembly: Emgu.CV.UI (in Emgu.CV.UI.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public Rectangle GetRectangle(
	Point p1,
	Point p2
)
Visual Basic
Public Function GetRectangle ( _
	p1 As Point, _
	p2 As Point _
) As Rectangle
Visual C++
public:
Rectangle GetRectangle(
	Point p1, 
	Point p2
)

Parameters

p1
Type: System.Drawing..::..Point
The first point on the control
p2
Type: System.Drawing..::..Point
The second point on the control

Return Value

the rectangle defined by the two points

See Also