TPDFlibFormSelection

数据类型、表单、Unicode

描述

以 UTF-16 代码单元、Unicode 代码点或字素簇描述有向的表单文本选定

声明

type
  TPDFlibFormSelection = record
    IndexUnit: TPDFlibFormSelectionUnit;
    AnchorIndex: Integer;
    CaretIndex: Integer;
    StartIndex: Integer;
    SelectionLength: Integer;
    IsReversed: Boolean;
  end;

字段

IndexUnit所有返回索引和长度使用的单位
AnchorIndex选定扩展起始的固定边
CaretIndex有向选定的移动边
StartIndex规范化选定的较低逻辑边
SelectionLength规范化选定两边之间的距离
IsReversed插入符位于锚点之前时为 True

另请参阅

GetSelectionRange, SetSelectionRange, TPDFlibFormSelectionUnit