ClearDisplayListCache

レンダリング

説明

記録されたディスプレイリストを破棄し、再利用、負荷、および競合のカウンターをリセットします

構文

Delphi

Function TPDFlib.ClearDisplayListCache: Integer;

DLL

int DLClearDisplayListCache(int InstanceID);

ActiveX

Function PDFlib::ClearDisplayListCache() As Long

戻り値

1キャッシュが消去されました

備考

クリア後の次回レンダリングでは、各コンテンツストリームを再解析して再記録する

キャプチャ中または再生中のリストは即座に廃止され、アクティブなレンダラーの解放時に破棄されるため、非同期レンダリング中の use-after-free を防ぎます