PDFium Delphi Component Docs

Destroy destructor

Component: TPdfReadingSession  ·  Unit: PDFium
Releases cached spoken chunks, reading-selection state and event subscriptions before TPdfReadingSession is destroyed

Syntax

destructor Destroy; override;

Description

Destroy is called by Free or by the owner when the component instance is being released

Releases the cached spoken chunks and word boxes, detaches the session from its TPdfView, closes the reading-selection document the session opened on its own, and clears the event handlers before TPdfReadingSession is destroyed

Remarks

Example

ReadingSession1.Free;

See Also

TPdfReadingSession.Create, TPdfReadingSession.SelectionMode, TPdfReadingSession.Stop