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 Constructor (Double, Double, Double, Double)
RectangleD Structure See Also Send Feedback

Initializes a new instance of the RectangleD class with the specified location and size.

Namespace: EGIS.ShapeFileLib
Assembly: EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

# Syntax

Visual Basic (Declaration)
    Public Sub New ( _
    	x As Double, _
    	y As Double, _
    	width As Double, _
    	height As Double _
    )

C#
    public RectangleD(
    	double x,
    	double y,
    	double width,
    	double height
    )

Visual C++
    public:
    RectangleD(
    	double x,
    	double y,
    	double width,
    	double height
    )

#### Parameters

x
  Type: System..::.Double
  The x-coordinate of the upper-left corner of the rectangle.

y
  Type: System..::.Double
  The y-coordinate of the upper-left corner of the rectangle.

width
  Type: System..::.Double
  The width of the rectangle.

height
  Type: System..::.Double
  The height of the rectangle.

# See Also

RectangleD Structure
RectangleD Overload
EGIS.ShapeFileLib Namespace