WD2024 February 15, 2024 04:04PM |
Registered: 5 years ago Posts: 114 |
Re: WD2024 February 17, 2024 06:38PM |
Registered: 5 years ago Posts: 92 |
Click BTN_ExportPDF // Saves the name sDocName is string = gsNameOpenedDocument gsNameOpenedDocument = fExtractPath(gsNameOpenedDocument,fFileName) +".pdf" // Opens the file picker //sFile is string = OpenFilePicker(fselCreate + fselExist, *, "PDF file" + TAB + "*.PDF", "PDF") // Restores the document name //gsNameOpenedDocument = sDocName DocToPDF(WP_Main,gsNameOpenedDocument) // Export if necessary //if sFile <> "" then // Saves the document // WP_Main.VersPDF(sFile) //end