public ActionResult PrintPdf(string id = "")
{
var report = this.GetReport2(id);
var settings = new Stimulsoft.Report.Export.StiPdfExportSettings() { ImageQuality = 1.0f, ImageResolution = 300, EmbeddedFonts = true, UseUnicode = false, StandardPdfFonts = true };
var service = new Stimulsoft.Report.Export.StiPdfExportService();
var stream = new MemoryStream();
service.ExportTo(report, stream, settings);
return File(stream.ToArray(), "application/octet-stream", DateTime.Now.Ticks + ".pdf");
}
نويسنده :محمد حسین فخرآوری
تاريخ: دوشنبه ۱۴۰۰/۰۹/۱۵ ساعت:
برچسب : نویسنده : fakhravary بازدید : 158