Tests two sizes for equality allowing a small margin for rounding errors.
'Declaration
Public Shared Function SamePaperSizes( _
ByVal As Windows.Foundation.Size, _
ByVal As Windows.Foundation.Size _
) As System.Boolean
public static System.bool SamePaperSizes(
Windows.Foundation.Size ,
Windows.Foundation.Size
)
Parameters
- size1
- The first size to compare.
- size2
- The second size to compare.
Return Value
True if the two sizes are reasonably close, false otherwise.