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

[C#]

static Rectangle FromPoints(Point[] points);

[Visual Basic]

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

None.

Example

None.