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.10.1935 (2.4.10.1935)

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
)
F#
member GetRectangle : 
        p1 : Point * 
        p2 : Point -> Rectangle 

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

Type: Rectangle
the rectangle defined by the two points

See Also