Click or drag to resize

PanAndZoomPictureBoxGetRectangle Method

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: 4.1.0.3408 (4.1.0.3408)
Syntax
public Rectangle GetRectangle(
	Point p1,
	Point p2
)

Parameters

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

Return Value

Type: Rectangle
the rectangle defined by the two points
See Also