如何将网页保存为多个PDF文件?
E.g
private void printAllPDF(List<Invoice> Invoices)
{
string path = "C:/temp/";
foreach (Invoice inv in Invoices)
{
PDF = PrintToPDF("PrintPage.Aspx?InvoiceGUID="+ inv.GUID);
PDF.SaveAs(path , inv.GUID +".PDF");
}
}
感谢您的帮助