LayoutDoubleUtil::AreClose Method (Rect, Rect)
Visual Studio 2015
Determines whether the absolute values of the differences between the left positions, top positions, heights and widths of the specified rectangles are less than the double value 0.00000153.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
Parameters
- rect1
-
Type:
System.Windows::Rect
The first rectangle for comparison.
- rect2
-
Type:
System.Windows::Rect
The second rectangle for comparison.
Return Value
Type: System::BooleanReturns true if the differences between the values are less than 0.00000153; otherwise returns false.
Show: