我正在为我的项目使用 pdfsharp..
我正在尝试将转换后的 PdfDocument 对象保存到指定路径中的 pdf 文件中。
我有这个方法
public static PdfDocument ConvertTiff2Pdf(string docpath)
{
var pdfDoc = Tiff2Pdf(docpath);
return pdfDoc;
}
Run Code Online (Sandbox Code Playgroud)
这将返回 PdfDocument,我想将其保存到“C:\temp\docname.pdf”文件夹中。
如何在不使用http响应的情况下使用csharp来做到这一点..因为我必须首先将其存储在服务器上然后使用..请帮助我..