Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / Utils Class / GetMinMax Method
The first number.
The first number.
The minimal number.
The maximal number.

In This Topic
    GetMinMax Method (Utils)
    In This Topic
    Gets minimal and maximal numbers.
    Syntax
    'Declaration
     
    Public Shared Sub GetMinMax( _
       ByVal v1 As Integer, _
       ByVal v2 As Integer, _
       ByRef min As Integer, _
       ByRef max As Integer _
    ) 
    public static void GetMinMax( 
       int v1,
       int v2,
       out int min,
       out int max
    )

    Parameters

    v1
    The first number.
    v2
    The first number.
    min
    The minimal number.
    max
    The maximal number.
    See Also