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..::.Equals Method
RectangleD Structure See Also Send Feedback

Tests whether obj is a RectangleD with the same location and size of this RectangleD.

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

# Syntax

Visual Basic (Declaration)
    Public Overrides Function Equals ( _
    	obj As Object _
    ) As Boolean

C#
    public override bool Equals(
    	Object obj
    )

Visual C++
    public:
    virtual bool Equals(
    	Object^ obj
    ) override

#### Parameters

obj
  Type: System..::.Object
  The Object to test.

#### Return Value

This method returns true if obj is a RectangleD and its X, Y, Width, and Height properties are equal to the corresponding properties of this RectangleD; otherwise, false.

# See Also

RectangleD Structure
EGIS.ShapeFileLib Namespace