pdfSaveAs

Save the currently open PDF file to disk.
int pdfSaveAs(PDFViewerHandle viewer, char *fileName)
This function saves the current PDF file (whether it was read from disk or memory) to a new file.
C:
err = pdfSaveAs(viewer, "c:/output/file.pdf");