C1.Xaml.RichTextBox.Documents Namespace > C1TextPointer Class > Closest Method : Closest(Func<C1TextPointer,Boolean>,Func<C1TextPointer,C1TextPointer,Int32>,C1TextElement) Method |
'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
'Usage
Dim instance As C1TextPointer Dim predicate As System.Func(Of C1TextPointer,Boolean) Dim distance As System.Func(Of C1TextPointer,C1TextPointer,Integer) Dim range As C1TextElement Dim value As C1TextPointer value = instance.Closest(predicate, distance, range)
public C1TextPointer Closest( System.Func<C1TextPointer,bool> predicate, System.Func<C1TextPointer,C1TextPointer,int> distance, C1TextElement range )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2