VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WpfTwain Namespace / Rectangle Structure / Equality(Rectangle,Rectangle) Operator
Синтаксис Требования Смотрите также
В этом разделе
    Equality(Rectangle,Rectangle) Оператор (Rectangle)
    В этом разделе
    Tests whether two Rectangle structures have equal location and size.
    Синтаксис
    '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.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также