SamePaperSizes Method (Utils)
In This Topic
Tests two sizes for equality allowing a small margin for rounding errors.
Syntax
'Declaration
Public Shared Function SamePaperSizes( _
ByVal As Size, _
ByVal As Size _
) As Boolean
public static bool SamePaperSizes(
Size ,
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.
See Also