Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
RectangleD..::.FromLTRB Method
RectangleD Structure See Also Send Feedback

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 (Declaration)
    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
    )

#### 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

RectangleD Structure
EGIS.ShapeFileLib Namespace