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