我在线编写了一个非常简单的拖放式报告屏幕,以便用户可以指定标签和字段等,就像 MS Access 报告一样。我在将其输出为 PDF 时遇到问题,并且我正在使用 MigraDoc。 TextFrame 允许您指定左/上,这很好,但我需要为多行执行此操作,但我无法完全让它以这种方式工作。
目前,我尝试添加一个表和一行(对于每个记录),并使用 left/top 属性将文本框放入其中,但每个字段都放在同一位置,即 0,0 并且记录流过页眉和页脚?
我正在使用 c#
I wrote a very simple drag and drop style report screen online so users can specify labels and fields etc much like an MS Access Report. I am having an issue getting this to output as PDF and I am using MigraDoc. The TextFrame allows you to specify a Left/Top which is good but I need to do this for multiple rows and I can't quite get it to work in this way.
At present I tried to add a table and a row (for each record) and put textframes within this with the left/top properties but every field gets put in the same place i.e. 0,0 and the records flow over both the header and footer?
I am using c#
发布评论