我只是想節省一些時間,而不是每次都必須按匯出、命名 pdf 并選擇一個檔案夾的程序。但是我很難找到一種使用 vb.net 和水晶報告自動將 pdf 匯出到特定檔案夾的方法。我知道如果我使用reportdocument.PrintToPrinter(1, False, 0, 0)它會自動列印。是否有與此等效的方法,但是將 pdf 匯出到特定檔案夾?
uj5u.com熱心網友回復:
根據檔案,它可以這樣實作:
reportdocument.ExportToDisk(ExportFormatType.PortableDocFormat, exportPath "Filename.pdf")
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/490850.html
