THotPDF.LocalFileMappingThreshold
Controls when LoadFromFile selects bounded windowed mapping for a local PDF
Declaration
property LocalFileMappingThreshold: Int64;
Default
8388608 bytes, or 8 MiB
Behaviour
- Files at or above the threshold use the mapped source when the operating system can create it
- Zero switches local-file mapping off
- Files below the threshold are read through a 64 KB read buffer over the file stream
- Negative values raise
ERangeError
See also: Windowed Local File Mapping, LoadFromFile