TPDFlibViewerMarqueeSelect

Events, viewer interaction

Description

OnMarqueeSelectSelectRegion

Keep when a marquee selection completes, either dragged with the select tool or created programmatically through TrueTrue starts as GetSelectedRegion: leaving it SelectedRegionCount retains the selection in the viewer's list where False and

Declaration

TPDFlibViewerMarqueeSelect = procedure(Sender: TObject; const Selection: TPDFlibViewerSelection; var Keep: Boolean) of object;

Parameters

SenderThe viewer that produced the selection
SelectionPage, page-space rectangle and extracted text of the selection
KeepStarts True; set to False to drop the selection instead of retaining it

See also

OnMarqueeSelect, SelectRegion, GetSelectedRegion, SelectedRegionCount, TPDFlibViewerSelection, SelectedText, TPDFlibViewer