Back to Devexpress

TdxPDFDocument.FindText(string,TdxPDFDocumentTextSearchOptions,TdxPDFPageTextRanges) Method

vcl-dxpdfdocument-dot-tdxpdfdocument-dot-findtext-x28-system-dot-string-dxpdfdocument-dot-tdxpdfdocumenttextsearchoptions-dxpdftext-dot-tdxpdfpagetextranges-x29.md

latest2.0 KB
Original Source

TdxPDFDocument.FindText(string,TdxPDFDocumentTextSearchOptions,TdxPDFPageTextRanges) Method

Searches all occurrences of the specified text string in the document.

Declaration

delphi
procedure FindText(const AText: string; const AOptions: TdxPDFDocumentTextSearchOptions; var AFoundRanges: TdxPDFPageTextRanges); overload; virtual;

Parameters

NameTypeDescription
ATextstring

The searched text string.

| | AOptions | TdxPDFDocumentTextSearchOptions |

The required search settings.

| | AFoundRanges | TdxPDFPageTextRanges |

Returns an array of all found document text ranges.

|

Remarks

Call the FindText procedure to obtain an array of text ranges that correspond to all found occurrences of the specified text string.

Refer to the following topic for additional information on the text search functionality: How to Search and Highlight Text in PDF Documents.

See Also

TdxPDFViewerTextSearch.Find

FindText(string)

FindText(string,TdxPDFDocumentTextSearchOptions,Integer)

FindText(string,TdxPDFDocumentTextSearchOptions)

TdxPDFDocument Class

TdxPDFDocument Members

dxPDFDocument Unit