TdxPDFPageTextPosition Record
Stores a position within a text on a PDF document page.
Declaration
TdxPDFPageTextPosition = record
Remarks
This record stores the information defining a single position within a document page that contains text. Text positions are normally used to define text ranges:
The TdxPDFPageTextPosition record uses the following fields to store:
An index of the word that includes the text position (WordIndex);
The offset (in characters) specifying the exact position within the word (Offset).
Additionally, the TdxPDFPageTextPosition record provides the methods that allow you to:
Create a valid or invalid text position within a document page (Create and Invalid);
Identify if the record stores a valid text position (IsValid);
Compare two text positions (IsSame).
Note that the TdxPDFPageTextPosition record does not store the information on a page in which the text position is located.
The TdxPDFPageTextPosition type is referenced by:
The TdxPDFPageTextRange type’s StartPosition and EndPosition fields;