Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 715

Previous Page 714   Index   Next Page 716

Function Reference
Page 715 of 750
Remarks:
The function tmpfile() creates the temp file usually in the system's root directory. If you want to use
your own directory into which the temp file can be created then use the function SetUseSwapFileEx()
instead.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetUseSwapFileEx (obsolete)
Syntax:
LBOOL pdfSetUseSwapFileEx(
const PPDF* IPDF,
// Instance pointer
LBOOL SwapContents,
// If true, content streams are paged out too
UI32 SwapLimit,
// Memory limit in KB
const char* SwapDir) // Destination directory of the temp file
This function is obsolete and should no longer be used. Beginning with DynaPDF 3.0, more efficient
features are available to restrict the memory usage. See SetUseSwapFile() for further information.
Beginning with DynaPDF 3.0, the function writes only images into the temp file. The parameter
SwapContents is no longer considered.
The temp file will be created in the directory SwapDir. This directory must exist when the function is
called.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetUseSystemFonts
Syntax:
LBOOL pdfSetUseSystemFonts(
const PPDF* IPDF, // Instance pointer
LBOOL Value)
// see description
The property specifies whether the system fonts should be automatically loaded. On Windows all
fonts in the Windows/Fonts directory will be loaded as well as shared fonts listed in the Registry. On
Mac OS X the following font paths will be added to the list of font search paths:
/System/Library/Fonts
/Library/Fonts
~/Library/Fonts
Additional font paths can be added with AddFontSearchPath().
Default value = 1 (true)
The fonts are loaded when SetFont() is called the first time. The property is ignored on Linux or
UNIX.
 

Previous topic: SetUseSwapFile (obsolete)

Next topic: SetUseVisibleCoords