CopySelectedText

Viewer interaction, text

Description

Places the text captured by the current mouse selection on the clipboard; the viewer itself invokes the same routine when Ctrl+C is pressedA selection made with a

vmSelect drag or created programmatically through SelectRegion supplies the text

Syntax

Delphi

Function TPDFlibViewer.CopySelectedText: Integer;

Return values

0The selection is empty and nothing was copied
1The selection text was placed on the clipboard

See also

TPDFlibViewer, GetSelectedRegion, GetTextInRegion, ClearSelectedRegions