2021.1

Table Of Contents
VBScript implementation: set myPDF = Watch.GetPDFEditObject
IPDF methods
Name Return type Description
"Close()" on page248 Closes the PDF file. If changes were
made but not saved, they are silently lost.
All IPage objects must be released before
closing a PDF.
"Create(filename)" on
page249
Creates a new empty PDF file.
"GetInfos()" on page249 "IPdfInfos" on
page273
Retrieves the contents of the Document
Information Dictionary from the PDF.
"GetVersion(*major, *minor)"
on page250
Returns the version of the underlying PDF
file format. For example, for PDF 1.7, 1 is
returned in major and 7 is returned in
minor.
Note that this method is not available in
scripts.
"GetXMP()" on page250 STRING Retrieves the XMP attachment embedded
in the PDF.
"GetXYML()" on page250 STRING Retrieves the entire extractable text from
the PDF in XYML format.
"IsProtected(filename)" on
page251
BOOL Returns True if the PDF file is password-
protected. When a file is password-
protected, the OpenEx() method must be
used instead of the Open() method.
"MergeWith(pdfFilename)"
on page251
Merges the pages of pdfFilename (the
source) with the pages of the current PDF
(the destination).
Page 246