Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFDocument.FindText(string) Method

Searches the specified text string in the document with the default search settings.

#Declaration

Delphi
function FindText(const AText: string): TdxPDFDocumentTextSearchResult; overload; virtual;

#Parameters

Name Type Description
AText string

The searched text string.

#Returns

Type Description
TdxPDFDocumentTextSearchResult

A text search operation result.

#Remarks

Call the FindText function to find the nearest occurrence of the specified text string according to the default search settings and the current search operation status. Refer to the following topic for additional information on the text search functionality: How to Search and Highlight Text in PDF Documents.

See Also