TdxPDFPageTextPosition.WordIndex Field
In This Article
Stores the word position within a PDF document page.
#Declaration
Delphi
WordIndex: Integer
#Field Value
Type |
---|
Integer |
#Remarks
Use this field to specify the word in which the text position is located. Every word on a document page has a corresponding zero-based index that you can use to specify a position within the page’s text. The actual word order within a particular page depends on the PDF document structure and formatting.
The WordIndex field value corresponds to the position of the respective word’s first character:
To define the text position more precisely within the word specified by the WordIndex field value, use the Offset field to shift the position right by a specific number of characters from the word’s beginning.
Note
The text position is invalid if the Word
See Also