PDFium Delphi Component Docs

SaveTemporaryDirectory property

Component: TPdf  ·  Unit: PDFium
The directory holding the temporary files a save spills into

Syntax

property SaveTemporaryDirectory: string; // default: system temporary directory

Description

When save staging exceeds SaveMemoryLimit, it writes to a private delete-on-close file in this directory. An empty value, the default, means the system temporary directory

Point it at a fast local volume, or at one with room for the document, when the system temporary directory is small or sits on a network share. Server processes often set it per instance to keep spill traffic on a chosen disk

Assigning a directory that does not exist raises EPdfError, so a misconfiguration surfaces at the assignment rather than in the middle of a save

See Also

SaveMemoryLimit, LastSaveSpillCount, SaveAs