Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl Namespace / ReportSize Class / Compare Method
The first size to compare.
The second size to compare.

In This Topic
    Compare Method (ReportSize)
    In This Topic
    Compares two sizes.
    Syntax
    'Declaration
     
    Public Shared Function Compare( _
       ByVal s1 As ReportSize, _
       ByVal s2 As ReportSize _
    ) As Integer
    public static int Compare( 
       ReportSize s1,
       ReportSize s2
    )

    Parameters

    s1
    The first size to compare.
    s2
    The second size to compare.

    Return Value

    -1 if s1 is less than s2, 1 if s1 is greater than s2, or 0 if the two sizes are equal.
    See Also