VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / Rectangle Structure / Inequality(Rectangle,Rectangle) Operator
Syntax Requirements SeeAlso
In This Topic
    Inequality(Rectangle,Rectangle) Operator (Rectangle)
    In This Topic
    Tests whether two Rectangle structures differ in location or size.
    Syntax
    'Declaration
    
    Public Operator <>( _
    ByVal left
    The Rectangle structure that is to the left of the inequality operator.
    As Rectangle, _
    ByVal right
    The Rectangle structure that is to the right of the inequality operator.
    As Rectangle _
    ) As Boolean
    public bool operator =(
    Rectangle left,
    Rectangle right
    )
    public: bool op_Inequality(
    Rectangle left,
    Rectangle right
    )
    public:
    bool operator =(
    Rectangle left,
    Rectangle right
    )

    Parameters

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

    Return Value

    This operator returns true if any of the Left , Top, Width, or Height properties of the two Rectangle structures are unequal; otherwise, false.
    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