Get the file name of the currently open PDF file.
getFileName([out, retval] BSTR *pdfFileName)
This function returns the name of the currently displayed PDF file.

This can be used in the page change callback, for example, to change the displayed file name after the user follows a hyperlink to a new PDF file.

name = viewer.getFileName