GetTempFileQuota
記憶體管理、暫存檔、診斷
描述
傳回所選文件的暫存檔配額與 spool 統計
語法
Delphi
Function TPDFlib.GetTempFileQuota(Out MaxBytes, UsedBytes: Int64;
Out QuotaExceeded: Integer): Integer;參數
| MaxBytes | 接收已設定的配額;0 表示無上限 |
|---|---|
| UsedBytes | 接收所選文件 spool 目前佔用的位元組數 |
| QuotaExceeded | 物件因配額容不下而保留在記憶體時收到 1,否則 0 |
傳回值
| 1 | Statistics were returned |
|---|---|
| 0 | No document is selected |