Creates a RectangleD structure with upper-left corner and lower-right corner at the specified locations.
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Shared Function FromLTRB ( _
left As Double, _
top As Double, _
right As Double, _
bottom As Double _
) As RectangleD |
C# |
---|
public static RectangleD FromLTRB(
double left,
double top,
double right,
double bottom
) |
Visual C++ |
---|
public:
static RectangleD FromLTRB(
double left,
double top,
double right,
double bottom
) |
JavaScript |
---|
EGIS.ShapeFileLib.RectangleD.fromLTRB = function(left, top, right, bottom); |
Parameters
- left
- Type: System..::..Double
The x-coordinate of the upper-left corner of the rectangular region.
- top
- Type: System..::..Double
The y-coordinate of the upper-left corner of the rectangular region.
- right
- Type: System..::..Double
The x-coordinate of the lower-right corner of the rectangular region.
- bottom
- Type: System..::..Double
The y-coordinate of the lower-right corner of the rectangular region.
Return Value
The new
RectangleD that this method creates.
See Also