GetTempFileQuota
Memory management, temporary files, diagnostics
Description
Returns the temporary-file quota and spool statistics for the selected document
Syntax
Delphi
Function TPDFlib.GetTempFileQuota(Out MaxBytes, UsedBytes: Int64;
Out QuotaExceeded: Integer): Integer;Parameters
| MaxBytes | Receives the configured quota, where 0 means unlimited |
|---|---|
| UsedBytes | Receives the number of bytes currently occupied by the selected document spool |
| QuotaExceeded | Receives 1 when an object was retained in memory because the quota could not accommodate it, otherwise 0 |
Return values
| 1 | Statistics were returned |
|---|---|
| 0 | No document is selected |