[]
        
(Showing Draft Content)

C1.Document.Utils.GetNearText

GetNearText Method

GetNearText(string, int, int, out string, out int)

Gets the text which is "near" to specified position.

Declaration
public static void GetNearText(string text, int position, int length, out string nearText, out int positionInNearText)
Public Shared Sub GetNearText(text As String, position As Integer, length As Integer, ByRef nearText As String, ByRef positionInNearText As Integer)
Parameters
Type Name Description
string text
int position
int length
string nearText
int positionInNearText