VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Rectangle Structure / Equals Method
This method returns true if obj is a Rectangle and its Left, Top, Width, and Height properties are equal to the corresponding properties of this Rectangle; otherwise, false.




In This Topic
    Equals Method (Rectangle)
    In This Topic
    Tests whether obj is a Rectangle with the same location and size of this Rectangle.
    Syntax
    'Declaration
     
    Public Overrides Function Equals( _
       ByVal obj As Object _
    ) As Boolean
    'Usage
     
    Dim instance As Rectangle
    Dim obj As Object
    Dim value As Boolean
     
    value = instance.Equals(obj)
    public override bool Equals( 
       object obj
    )
    public: bool Equals( 
       Object* obj
    ) override 
    public:
    bool Equals( 
       Object^ obj
    ) override 

    Parameters

    obj
    This method returns true if obj is a Rectangle and its Left, Top, Width, and Height properties are equal to the corresponding properties of this Rectangle; otherwise, false.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also