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

TdxPDFDocumentTextSearchResult.Range Field

Stores a PDF text range corresponding to the found text fragment.

#Declaration

Delphi

#Field Value

Type
TdxPDFPageTextRange

#Remarks

Use this field to obtain the text range visually corresponding to the match found by the PDF Viewer‘s TextSearch.Find and Document.FindText methods. For instance, you can use the text range(s) to highlight the search result(s) in the loaded document using custom colors.

If a search operation found no text matches (i.e., the Status field is set to tssNotFound), the text range stored by the Range field is invalid.

See Also