Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RangeBase Class / CompareLocationWith Method
The range to compare this range with.

In This Topic
    CompareLocationWith Method
    In This Topic
    Compares this range location with another range location.
    Syntax
    'Declaration
     
    Public Function CompareLocationWith( _
       ByVal range As RangeBase _
    ) As LocationRelation
    public LocationRelation CompareLocationWith( 
       RangeBase range
    )

    Parameters

    range
    The range to compare this range with.

    Return Value

    A LocationRelation value representing the result of the comparison.
    Remarks
    Results returns compare that our current range applied on provided range. So, for example, result Contains mean our range contains provided range.
    See Also