closeFile

Close the currently open PDF file.
closeFile()
This function function closes the currently open PDF file (which was opened with loadFile, loadURL, etc.), if any, leaving a blank window.

You are not required to call closeFile before opening another file. If you call loadFile on a viewer which already has an open file, the current file will simply be replaced by the new one.

IMPORTANT: The PDF file on disk (for loadFile) or the PDF stream (for loadStream) must not be deleted, modified, or freed until after closeFile is called or a new file is loaded.

VB:
viewer.closeFile()
loadFile
loadFileWithPassword
loadStream
loadStreamWithPassword
loadURL
loadURLWithPassword