Document Library for UWP | ComponentOne
C1.UWP.Document Assembly / C1.Xaml.Document Namespace / Utils Class / GetNearText Method

In This Topic
    GetNearText Method
    In This Topic
    Gets the text which is "near" to specified position.
    Syntax
    'Declaration
     
    Public Shared Sub GetNearText( _
       ByVal text As String, _
       ByVal position As Integer, _
       ByVal length As Integer, _
       ByRef nearText As String, _
       ByRef positionInNearText As Integer _
    ) 
    public static void GetNearText( 
       string text,
       int position,
       int length,
       out string nearText,
       out int positionInNearText
    )

    Parameters

    text
    position
    length
    nearText
    positionInNearText
    See Also