C# 如何在使用Pechkin生成的PDF中进行分页符
我正在使用pechkin dll基于一些HTML生成一个PDF文件 这一切都很好地工作,除了我需要它在某些地方添加一个分页符,我不知道如何 我以前认为使用css分页符,但这似乎不起作用 我正在使用的HTML的一个示例是:C# 如何在使用Pechkin生成的PDF中进行分页符,c#,.net,pdf-generation,pechkin,tuespechkin,C#,.net,Pdf Generation,Pechkin,Tuespechkin,我正在使用pechkin dll基于一些HTML生成一个PDF文件 这一切都很好地工作,除了我需要它在某些地方添加一个分页符,我不知道如何 我以前认为使用css分页符,但这似乎不起作用 我正在使用的HTML的一个示例是: <table style="border-top: 0px solid black; border-bottom: 2px solid black; height: 30px; width: 800px;" border="0" cellspacing="0" cellp
<table style="border-top: 0px solid black; border-bottom: 2px solid black; height: 30px; width: 800px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width: 200px;"><strong>Recommendation</strong></td>
<td style="width: 600px;">[6060:Builder Recommendation]</td>
</tr>
</tbody>
</table>
<table style="page-break-before: always;border-top: 0px solid black; border-bottom: 2px solid black; background-color: #99ccff; height: 30px; width: 800px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><strong>Summary of Actions</strong></td>
</tr>
</tbody>
</table>
有什么想法吗?在桌子前面加一个div
<div style='page-break-after:always'></div>
在表格前添加一个div
<div style='page-break-after:always'></div>