CompactDocumentMemory
Memory management, temporary files, performance
Περιγραφή
Re-encodes the selected document and moves large serialized indirect objects into the temporary file configured by SetTempFile
Σύνταξη
Delphi
Function TPDFlib.CompactDocumentMemory: Integer;Τιμές επιστροφής
| 1 | Το έγγραφο συμπυκνώθηκε επιτυχώς |
|---|---|
| 0 | Δεν έχει ρυθμιστεί προσωρινό αρχείο ή δεν ήταν δυνατή η υλοποίηση ή η σειριοποίηση ενός αντικειμένου |
Παρατηρήσεις
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
Αν επιτευχθεί το quota, τα επηρεασμένα αντικείμενα μένουν στη μνήμη και η μέθοδος μπορεί ακόμη να πετύχει