closeFile
Close the currently open PDF file.
closeFile()
This function function closes the currently open PDF file. In general,
this is not necessary - the load functions (
loadFile
,
loadStream
) will automatically close the current file before
opening a new one. But it may be useful in some situations to force
the component to release the file handle.
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:
pdf.closeFile()