VintaSoft Twain .NET SDK v10.2
Equality Operator (Rectangle)




Vintasoft.WpfTwain Namespace > Rectangle Structure : Equality Operator
The Rectangle structure that is to the left of the equality operator.
The Rectangle structure that is to the right of the equality operator.
Tests whether two Rectangle structures have equal location and size.
Syntax
'Declaration
 
Public Operator =( _
   ByVal left As Rectangle, _
   ByVal right As Rectangle _
) As Boolean
'Usage
 
public bool operator ==( 
   Rectangle left,
   Rectangle right
)
public: bool op_Equality( 
   Rectangle left,
   Rectangle right
)
public:
bool operator ==( 
   Rectangle left,
   Rectangle right
)

Parameters

left
The Rectangle structure that is to the left of the equality operator.
right
The Rectangle structure that is to the right of the equality operator.

Return Value

This operator returns true if the two specified Rectangle structures have equal Left, Top, Width, and Height properties.
Requirements

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

See Also

Reference

Rectangle Structure
Rectangle Members