[id] = pdf.OpenDocument(id, file$[, t])
file$ and
assigns the identifier id to it. If you pass Nil in id, pdf.OpenDocument()
will automatically choose a vacant identifier and return it.
The optional table argument allows you to configure further options:
Password:
Adapter:default. See your Hollywood manual
for more information on file adapters.
If pdf.OpenDocument() fails, pdf.GetLastError() can be used to get additional
information why the document couldn't be opened. This is especially useful to find out if
the document couldn't be opened because it is password-protected. See pdf.GetLastError for details.
Nil for auto id selectionNil as argument 1 (see above)