EbsOpen Class Library for EBSILON®Professional

Application.NewRectangle Method 

Creates a new Rectangle instance.

[Visual Basic]
Public Function NewRectangle( _ 
   Optional ByVal Left As Integer = 0, _ 
   Optional ByVal Top As Integer = 0, _ 
   Optional ByVal Right As Integer = 0, _ 
   Optional ByVal Bottom As Integer = 0 _ 
) As Rectangle
[C#]
public Rectangle NewRectangle(
   int Left,
   int Top,
   int Right,
   int Bottom
);
[C++]
public: Rectangle* NewRectangle(
   int Left,
   int Top,
   int Right,
   int Bottom
);
[JScript]
public function NewRectangle(
   int Left,
   int Top,
   int Right,
   int Bottom
): Rectangle;

Parameters

Left
Left position
Top
Top position
Right
Right position
Bottom
Bottom position

Return Value

A reference to a new Rectangle instance.

Remarks

Creates a new Rectangle instance.

See Also

Application Class | EbsOpen Namespace