PDFium Delphi Component Docs

Destroy 析构函数

Class: TPdfReadingSession  ·  单元: PDFium
在 TPdfReadingSession 销毁前释放缓存的朗读分块、朗读选择状态和事件订阅

语法

destructor Destroy; override;

说明

当组件实例被释放时,Destroy 由 Free 或所有者调用

释放缓存的朗读分块和词框,解除会话与其 TPdfView 的关联,关闭会话自行打开的朗读选择文档,并在 TPdfReadingSession 销毁前清空事件处理器

备注

示例

ReadingSession1.Free;

参见

TPdfReadingSession.Create, TPdfReadingSession.SelectionMode, TPdfReadingSession.Stop