PDFium Delphi Component Docs

TPdfReadingSelectionMode type

Unit: PDFium

Declares the optional native text-selection policy of TPdfReadingSession

Syntax

type TPdfReadingSelectionMode = (rsmNone, rsmWord, rsmChunk);

Description

rsmNone preserves the existing playback behavior, rsmWord follows the current mapped native word and rsmChunk selects the current chunk's declared source spans

Assign the value through TPdfReadingSession.SelectionMode; the default is rsmNone

See the SelectionMode property for ownership restoration, invalid-range handling and playback lifecycle details

See Also

SelectFragment, SelectReadingUnit, TPdfReadingUnit, SelectionMode