Returns the smallest rectangle which contains all the supplied points. If no points are supplied an exception will be raised.
Syntax

[C#]

static RectangleF FromPoints(PointF[] points);

[Visual Basic]

Shared Function FromPoints(points As PointF()) As RectangleF
Params
Name Description
points The points to enclose.
return A rectangle enclosing all the points.
Notes

None.

Example

None.