TPDFlibFormSelectionUnit

数据类型、表单、Unicode

描述

选择表单编辑位置如何对 UTF-16 文本计数

声明

type
  TPDFlibFormSelectionUnit = (fsuUTF16CodeUnit, fsuUnicodeCodePoint,
    fsuGraphemeCluster);

值

fsuUTF16CodeUnit按单个 UTF-16 代码单元计数并保留 WideString 索引
fsuUnicodeCodePoint把有效的代理对计为一个增补代码点
fsuGraphemeCluster按扩展字素簇计数,使连写的用户感知字符保持不可分割

另请参阅

SetSelectionRange, GetSelectionRange, TPDFlibFormSelection