System::Drawing::RectangleF::FromLTRB method

RectangleF::FromLTRB method

Constructs a new RectangleF object that represents a rectangle with the specified edge locations.

static RectangleF System::Drawing::RectangleF::FromLTRB(float left, float top, float right, float bottom)
ParameterTypeDescription
leftfloatThe X coordinate of the left edge of the rectangle
topfloatThe Y coordinate of the top edge of the rectangle
rightfloatThe X coordinate of the right edge of the rectangle
bottomfloatThe Y coordinate of the bottom edge of the rectangle

ReturnValue

An instance of RectangleF class that represents the speified rectangle

See Also