function SelectWordSpan(const Words: TPdfWordBoxes; StartIndex, EndIndex: Integer): Boolean;
| Words | TPdfWordBoxes |
| StartIndex | Integer |
| EndIndex | Integer |
BooleanSelectWordSpan は要求された単語インデックスを丸め、両端が同じページに載っていることを確認したうえで、結合した文字範囲を選択します
現在の読み上げ単語やフレーズに、実際のビューアーのテキスト選択を与えたいときは PageWordBoxes と組み合わせて使います
False を返しますvar Words: TPdfWordBoxes;
begin
Words := PdfView1.PageWordBoxes;
PdfView1.SelectWordSpan(Words, 0, 4);
end;