DynaPDF Manual - Page 784
Previous Page 783 Index Next Page 785
Page 784 of 821
const PPDF* IPDF, // Instance pointer
// If false, the 14 standard fonts are disabled
The function can be used to disable the 14 standard fonts temporarily. PDF viewer applications
support 14 standard fonts, these fonts are not embedded by default, also if the parameter Embed of
the function SetFont() is true.
If certain standard fonts are available on the system, then they have typically a higher search
priority but it is still possible to select a standard font. This can occur, for example, if the font weight
of the system font does not exactly match the requested weight. If a standard font represents a better
match, then this font would be selected.
To avoid unwanted font selections it is possible to disable the standard fonts from font selection.
The value can be changed whenever necessary.
Default value = 1 (true)
const PPDF* IPDF,
// Instance pointer
LBOOL SwapContents, // If true, content streams are paged out too
// Memory limit in KB
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.
When importing large PDF files, the flag if2UseProxy should be set to drastically reduce the
memory usage (see SetImportFlags2() for furhter information). When this flag is set, PDF files of
arbitrary size can be imported with minimal memory usage. The only restriction is that the
imported PDF file(s) cannot be deleted before CloseFile() or CloseFileEx() was called.
To enable the creation of large PDF files (up to 4 GB), it is possible to write finished pages into the
output file with FlushPages(). This is much more efficient and reduces the memory usage
Beginning with DynaPDF 3.0, this function writes only images into the temp file. The parameter
SwapContents is no longer considered.
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
Previous topic: SetUseImageInterpolationEx, SetUserUnit
Next topic: SetUseSwapFileEx (obsolete), SetUseSystemFonts