RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1Length Structure / Max Method
The first of two C1Length instances to compare.
The second of two C1Length instances to compare.

In This Topic
    Max Method (C1Length)
    In This Topic
    Returns the larger of two C1Length instances.
    Syntax
    'Declaration
     
    
    Public Shared Function Max( _
       ByVal len1 As C1Length, _
       ByVal len2 As C1Length _
    ) As C1Length
    public static C1Length Max( 
       C1Length len1,
       C1Length len2
    )

    Parameters

    len1
    The first of two C1Length instances to compare.
    len2
    The second of two C1Length instances to compare.

    Return Value

    Parameter len1 or len2, whichever is larger.
    See Also