System::Drawing::Rectangle::Equals method

Rectangle::Equals method

Determines if the rectangles represented by the current and the specified objects are identical.

bool System::Drawing::Rectangle::Equals(const Rectangle &rect) const
ParameterTypeDescription
rectconst Rectangle&The Rectangle object to compare the current object with

ReturnValue

True if the rectangles represented by the current and the specified objects are identical, otherwise - false

See Also