简体   繁体   English

仅在运行时使用c#将pdf添加到新页面

[英]adding new pages only if needed to pdf at runtime using c#

I have some problems adding new pages. 添加新页面时遇到一些问题。 I want to add new pages only if needed and measured by the XParagraph (text) length. 我只想在需要时添加新页面,并以XParagraph(文本)的长度来衡量。 If the length doesnt fit on one page, a new page must be added. 如果长度不适合一页,则必须添加一个新页面。 Also the header and footer need to be added to every new page. 同样,页眉和页脚也需要添加到每个新页面。 It is probably easy to solve if I know how to do that, but I dont. 如果我知道该怎么做可能很容易解决,但我不知道。

I am using Migradoc Dll for generating pdf at run time 我正在使用Migradoc Dll在运行时生成pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用itextsharp(c#)将标题添加到PDF文件 - 只是新的章节页面 - Adding Header to PDF Files using itextsharp (c#) - just new chapter pages C# - 使用 iTextSharp 将多个页面添加到 PDF 文件 - C# - Adding multiple pages to PDF file using iTextSharp 使用C#在运行时添加和删除选项卡页 - Adding and removing tab pages at runtime in C# 使用c#在运行时向datagridview添加新行 - trouble Adding new row to datagridview in runtime using c# iText C#阅读pdf进行正则表达式匹配,仅将这些页面提取到新的pdf - iText C# Read pdf for regular expression match, extract only those pages to new pdf 使用iTextSharp将新页面添加到现有pdf - adding new pages to existing pdf using iTextSharp 使用itextsharp向新的pdf文档添加新页面和标签 - adding new pages and labels to new pdf document using itextsharp 在pdf超链接中,使用C#.net在运行时修改pdf的日期 - In pdf hyperlink modify date of pdf at runtime using C# .net 从具有多个页面的多个 word 文档中读取并通过使用 C# 仅选择包含特定单词的某些页面来创建 PDF - Read from multiple word documents with multiple pages and create a PDF by only selecting certain pages containing a specific word using C# 如何使用c#在所有PDF页面中添加边框 - How to add border in all PDF pages using c#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM