IFindResultCallback

public interface IFindResultCallback

Callback interface used to getting search text result.

Methods

MethodDescription
foundResult(ITextFrame textFrame, String sourceText, String foundText, int textPosition)Callback method which receives data about 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 which receives data about found text.

Parameters:

ParameterTypeDescription
textFrameITextFrameITextFrame where serching text was found.
sourceTextjava.lang.StringSource text of TextFrame where text was found.
foundTextjava.lang.StringFound text.
textPositionintPosition of found text in source text.