CompactDocumentMemory
Memory management, temporary files, performance
Opis
Re-encodes the selected document and moves large serialized indirect objects into the temporary file configured by SetTempFile
Syntax
Delphi
Function TPDFlib.CompactDocumentMemory: Integer;Návratové hodnoty
| 1 | The document was compacted successfully |
|---|---|
| 0 | No temporary file was configured or an object could not be materialized or serialized |
Poznámky
Call SetTempFile before this method and optionally use SetTempFileQuota to bound disk useSpool entries are indexed by object number and generation for logarithmic lookup and remain readable after the write handle closes
Keď sa dosiahne kvóta, dotknuté objekty zostanú v pamäti a metóda môže stále uspieť