CF_UNICODETEXTfunction CopySelectedFormTextToClipboard: Boolean;
The method reads the native focused-widget selection through GetSelectedFormText and writes non-empty text to the clipboard using the same Unicode path as CopySelectionToClipboard
It returns True after the clipboard accepts the text and False when the view is inactive, no widget is focused, the widget selection is empty, or a clipboard operation fails
An empty selection is rejected before opening or clearing the clipboard, so an unsuccessful no-focus call preserves existing clipboard content
False
if PdfView1.SelectAllFormText then
PdfView1.CopySelectedFormTextToClipboard;