TPDFlibViewerCopyText
Data types, viewer interaction, actions
Description
Action that copies the current text selection to the clipboard. The constructor presets
Caption to Copy and Hint to Copy selected text; the action is enabled only while a document is open and SelectedText is not empty, and executing calls CopySelectedTextIt is the first entry of the standard viewer context menu built by
It is the first entry of the standard viewer context menu built by CreatePDFlibViewerDefaultPopupMenu
Declaration
TPDFlibViewerCopyText = class(TPDFlibViewerAction) protected function DoUpdate: Boolean; override; procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;See also
TPDFlibViewerAction, CopySelectedText, SelectedText, SelectRegion, TPDFlibViewer