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

MaxBytesReceives the configured quota, where 0 means unlimited
UsedBytesReceives the number of bytes currently occupied by the selected document spool
QuotaExceededReceives 1 when an object was retained in memory because the quota could not accommodate it, otherwise 0

Return values

1Statistics were returned
0No document is selected