PDFium Delphi Component Docs

LoadSpoken method

Class: TPdfReadingSession  ·  Unit: PDFium
Loads the spoken chunks that the session will play in order

Syntax

procedure LoadSpoken(const Chunks: TPdfSpokenTexts);

Parameters

ChunksTPdfSpokenTexts - Spoken chunks to copy into the session

Description

The method calls Stop before replacing the chunk list so prior playback state and word highlighting are cleared

Chunk records and their span arrays are copied into the session; later changes to the caller's source arrays do not redirect the loaded mappings

Remarks

Example

ReadingSession1.LoadSpoken(Chunks);

See Also

TPdfReadingSession, TPdfReadingSession.State