FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Utils Class / SamePaperSizes Method
The first size to compare.
The second size to compare.

In This Topic
    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 size1 As C1.Win.Interop.Size, _
       ByVal size2 As C1.Win.Interop.Size _
    ) As Boolean
    public static bool SamePaperSizes( 
       C1.Win.Interop.Size size1,
       C1.Win.Interop.Size size2
    )

    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