TdxPDFPageTextPosition.Offset Field
Stores the text position offset (in characters) from the current word’s beginning.
Declaration
Offset: Integer
Field Value
Type |
---|
Integer |
Remarks
Use this field to set the text position within the word specified by the WordIndex field value. The resulting position is shifted right from the word’s beginning by a number of characters equal to the Offset field value:
Note
Normally, the Offset field values range between 0 and the current word’s length. If the field stores a negative value, the text position is invalid. If the specified offset exceeds the word’s length, the text position may incorrectly define a text range if used as its start or end position.
See Also