VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / Rectangle Structure / Equality(Rectangle,Rectangle) Operator
Syntax Requirements SeeAlso
In This Topic
    Equality(Rectangle,Rectangle) Operator (Rectangle)
    In This Topic
    Tests whether two Rectangle structures have equal location and size.
    Syntax
    'Declaration
    
    Public Operator =( _
    ByVal left
    The Rectangle structure that is to the left of the equality operator.
    As Rectangle, _
    ByVal right
    The Rectangle structure that is to the right of the equality operator.
    As Rectangle _
    ) As Boolean
    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: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also