2020.2

Table Of Contents
printerName (optional)
Name of the printer to print to. The default options of the printer will be used. PdfPrintParams ,
if non-NULL, may override some of them. If NULL, the default printer is used.
PdfPrintParams (optional)
Pointer to an "IPdfPrintParams" on page 270 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 269 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 )
Page 251