[]
        
(Showing Draft Content)

C1.C1Preview.Utils.SamePaperSizes

SamePaperSizes Method

SamePaperSizes(SizeF, SizeF)

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

Declaration
public static bool SamePaperSizes(SizeF size1, SizeF size2)
Parameters
Type Name Description
SizeF size1

The first size to compare.

SizeF size2

The second size to compare.

Returns
Type Description
bool

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