[]
        
(Showing Draft Content)

C1.WPF.Document.Utils.SamePaperSizes

SamePaperSizes Method

SamePaperSizes(Size, Size)

Tests two sizes for equality allowing a small margin for rounding errors.

Declaration
public static bool SamePaperSizes(Size size1, Size size2)
Public Shared Function SamePaperSizes(size1 As Size, size2 As Size) As Boolean
Parameters
Type Name Description
Size size1

The first size to compare.

Size size2

The second size to compare.

Returns
Type Description
bool

True if the two sizes are reasonably close, false otherwise.