'Declaration
Public Overloads Function Closest( _ ByVal predicate As System.Func(Of C1TextPointer,Boolean), _ ByVal distance As System.Func(Of C1TextPointer,C1TextPointer,Integer), _ ByVal range As C1TextElement _ ) As C1TextPointer
public C1TextPointer Closest( System.Func<C1TextPointer,bool> predicate, System.Func<C1TextPointer,C1TextPointer,int> distance, C1TextElement range )
Parameters
- predicate
- The predicate that must be satisfied.
- distance
- A distance function.
- range
- The range to be searched in.
Return Value
The closest position that satisfies the predicate.