IFindResultCallback
public interface IFindResultCallback
Callback interface used to getting search text result.
Methods
Method | Description |
---|---|
foundResult(ITextFrame textFrame, String sourceText, String foundText, int textPosition) | Callback method that receives data about the found text. |
foundResult(ITextFrame textFrame, String sourceText, String foundText, int textPosition)
public abstract void foundResult(ITextFrame textFrame, String sourceText, String foundText, int textPosition)
Callback method that receives data about the found text.
Parameters:
Parameter | Type | Description |
---|---|---|
textFrame | ITextFrame | The ITextFrame in which the text was found. |
sourceText | java.lang.String | The source text in which the text was found. |
foundText | java.lang.String | The found text. |
textPosition | int | The position of the found text. |