ClearDisplayListCache
Rendering
描述
丟棄已記錄的顯示清單,並重設重用、壓力與爭用計數器
語法
Delphi
Function TPDFlib.ClearDisplayListCache: Integer;DLL
int DLClearDisplayListCache(int InstanceID);ActiveX
Function PDFlib::ClearDisplayListCache() As Long傳回值
| 1 | The cache was cleared |
|---|
Remarks
清除之後的下一次描繪會重新解析每條內容串流並重新錄製
正在擷取或重播中的清單會立即除役,並在其作用中的描繪器釋放時一併釋放,避免非同步描繪期間發生 use-after-free