PDFium Delphi Component Docs

Destroy destructor

Class: TPdfReadingSession  ·  Unit: PDFium
Frees the cached spoken chunks, reading-selection state and event subscriptions before TPdfReadingSession is destroyed

Syntax

destructor Destroy; override;

Description

Delphi calls Destroy when Free runs or when the owner releases the component instance

The destructor frees the cached spoken chunks and word boxes, detaches the session from its TPdfView, closes the reading-selection document that 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