pdfGetFileName

Get the file name of the currently open PDF file.
char *pdfGetFileName(PDFViewerHandle viewer)
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.

The returned string should not be modified or freed.

C:
char *name; name = pdfGetFileName(viewer);