PanAndZoomPictureBoxGetRectangle Method |
http://www.emgu.com
Get the rectangle defined by the two points on the control
Namespace:
Emgu.CV.UI
Assemblies:
Emgu.CV.Platform.NetCore (in Emgu.CV.Platform.NetCore.dll) Version: 4.3.0.3890
Emgu.CV.Platform.NetFramework (in Emgu.CV.Platform.NetFramework.dll) Version: 4.3.0.3890 (4.3.0.3890)
Syntaxpublic Rectangle GetRectangle(
Point p1,
Point p2
)
Public Function GetRectangle (
p1 As Point,
p2 As Point
) As Rectangle
public:
Rectangle GetRectangle(
Point p1,
Point p2
)
member GetRectangle :
p1 : Point *
p2 : Point -> Rectangle
Parameters
- p1
- Type: System.DrawingPoint
The first point on the control - p2
- Type: System.DrawingPoint
The second point on the control
Return Value
Type:
Rectanglethe rectangle defined by the two points
See Also