Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / Utils Class / GetNearText Method

In This Topic
    GetNearText Method (Utils)
    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