TdxPDFDocumentTextSearchResult.Range Field
Stores a PDF text range corresponding to the found text fragment.
Declaration
Range: TdxPDFPageTextRange
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