[]
        
(Showing Draft Content)

C1.Win.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)
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.