ClearSelectedRegions

Viewer interaction, text

Description

Discards every retained marquee selection together with the text of the last selection and repaints the view

After the call GetSelectedRegion fails for every index and CopySelectedText returns 0 because no selection text remains; highlight regions and search-hit bars are unaffected

Syntax

Delphi

Procedure TPDFlibViewer.ClearSelectedRegions;

See also

TPDFlibViewer, GetSelectedRegion, CopySelectedText, ClearHighlightRegions