0
動作しません。それはあなたのビューでこれを置くために持っているすべてのコンテンツRotativaフッターの画像が
string customSwitches = string.Format("--header-right \"text\" --footer- html {0}",
Url.Action("Footer", "Competition", new { area = "" }, "http"));
return new ActionAsPdf("Pdf", new { compId = compId, personId = personId })
{
//FileName = "Report.pdf",
CustomSwitches = customSwitches
};
ビュー
<div style="text-align:center;font-size:11px;border-top:2px solid black;height:20%;padding-bottom:300px">
<img style="width:12px" src="~/images/e_lg.jpg" />
</div>
あなたは持っています"Pdf"と呼ばれるアクション?はいの場合、それは何を返すのですか? – meJustAndrew