TPDFlibFormSelectionUnit

Data types, forms, Unicode

Description

Selects how form edit positions count UTF-16 text

Declaration

type
  TPDFlibFormSelectionUnit = (fsuUTF16CodeUnit, fsuUnicodeCodePoint,
    fsuGraphemeCluster);

Values

fsuUTF16CodeUnitCounts individual UTF-16 code units and preserves WideString indexing
fsuUnicodeCodePointCounts a valid surrogate pair as one supplementary code point
fsuGraphemeClusterCounts extended grapheme clusters so joined user-perceived characters remain indivisible

See also

SetSelectionRange, GetSelectionRange, TPDFlibFormSelection