2021.2

Table Of Contents
Pointer to an "IPdfPrintParams" on page 274 structure that specifies various print options. If
NULL , default values are used.
Save()
Saves changes to the PDF file. The version of the PDF file format is the highest possible for a
newly created file and is unchanged when saving an existing file, unless the SetVersion
method was called in which case the file format used will be the one set by SetVersion. See
also: "SetVersion (major, minor)" on the next page.
Syntax
VOID Save (BOOL optimize)
optimize
If true, the file is optimized before being written to disk, i.e. objects are garbage-collected
and/or regenerated, the PDF is linearized, etc.
SetInfos(Infos)
Sets the contents for the PDF's Document Information Dictionary.
Syntax
VOID SetInfos ( IPdfInfos Infos )
Infos
"IPdfInfos" on page 273 structure containing the new values.
setPageCacheSize(cacheSize)
Sets the maximum number of IPage objects in the cache. Calling this method flushes the
cache.
Syntax
VOID setPageCacheSize ( UNSIGNED LONG cacheSize )
cacheSize
Maximum number of IPage pointers that the cache can hold, between 1 and 1000.
Page 255