2021.1

Table Of Contents
If you run the above code without calling the CollectGarbage() method, the Close() method will
error out.
Create(filename)
Creates a new empty PDF file. See also: "Save()" on page255.
Syntax
VOID Create (STRING filename)
filename
Name of the file to create. The file is not physically written to disk until IPDF.Save() is called.
ConvertToVDX(pdfFilename, ppmlFilename)
Converts a PDF file to a VDX file by adding the necessary entries in the catalog and root
dictionaries as well as embedding a PPML file as a stream object in the PDF. The validity of
the PPML is left to the caller.
This method opens, modifies, saves and closes the specified PDF file. This means that,
contrary to the other methods of the IPDF interface, this method works on - and only on - the
PDF file specified by the first argument; IPDF.Open() or .Create() do not need to be called
beforehand. If they were called, the file opened or created by these methods is untouched
(unless of course pdfFilename specifies the same filename as Open()).
Syntax
VOID ConvertToVDX (STRING pdfFilename, STRING ppmlFilename)
pdfFilename
Name of the file to convert.
ppmlFilename
Name of the PPML file to embed.
GetInfos()
Retrieves the contents of the Document Information Dictionary from the PDF.
Syntax
IPdfInfos GetInfos ()
Page 249