I want to generate a single pdf using 2 views. My target is to generate the first page from the first View and the seconnd page from the second view.
This is my current code:
var actionPDF = new Rotativa.ActionAsPdf("DownloadDividendSummaryPdf", new { ReportType = DividendType, Time = DividendTime })
{
FileName = "DividendPortfolio" + email + ".pdf",
PageSize = Size.A4,
MinimumFontSize = 12,
//PageMargins = new Margins(3, 3, 3, 3),
IsGrayScale = true,
IsJavaScriptDisabled = true,
IsBackgroundDisabled = true,
};
actionPDF = new Rotativa.ActionAsPdf("DownloadDividendDetailedPdf", new { ReportType = DividendType, Time = DividendTime, StartDate = G_StartDate, todate = G_ToDate })
{
FileName = "DividendPortfolio" + email + ".pdf",
PageSize = Size.A4,
MinimumFontSize = 12,
//PageMargins = new Margins(3, 3, 3, 3),
IsGrayScale = true,
IsJavaScriptDisabled = true,
IsBackgroundDisabled = true,
};