Hi
Double-clicking a character should automatically select the whole word. Are you seeing something different?
In v10.0.2 you can use CharIndexToWord(), e.g.
// Show the text under the cursor
procedure TfrmMain.ImageEnView1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
var
charIndex, textIndex, textLength: Integer;
begin
charIndex := ImageEnView1.PdfViewer.ScrToCharIndex( X, Y );
ImageEnView1.PdfViewer.CharIndexToWord( charIndex, textIndex, textLength );
lblWord.Caption := ImageEnView1.PdfViewer.GetText( textIndex, textLength );
end;
Nigel
Xequte Software
www.imageen.com