使用c#.net windows应用程序和itextsharp在pdf文件中写入数据? [英] Writing data in pdf file using c# .net windows application and itextsharp ?
问题描述
hiiiiiii
我正在开发一个Windows窗体应用程序。在该应用程序中,一个模块生成报价,其中包含部分,如... ....
奖金
条款和条件,我设计的所有部分都很好,使用TextBox,设置属性多线。
我面临的问题就像在textbox_to控件中一样,数据如下所示
To,
Tejas sawant
Satara
当我用pdf文件写入数据时使用的是itextsharp,看起来像 -
To ,Tejas Sawant Satara
有10个条款和条件,在单个多行文本框中,会出现同样的问题,请帮助我,编写多行文本框数据,因为它是在pdf文件中?
如何在itextsharp中设置字体颜色?
我想打印只有标签控制数据,如何打印而不创建pdf?
提前使用Thanx ..由于这个问题,我的部署app扩展了,请帮帮我..
hiiiiiii
i mdeveloping one windows form application . In that app ,one module generate quotation ,which contains part like ,To ....
Prize
Terms And Conditions , i designed all part well ,using TextBox ,setting property multiline .
I face problem like , in textbox_to control ,data appear like below
To,
Tejas sawant
Satara
When i write data in pdf file usuing itextsharp ,look like --
To , Tejas Sawant Satara
There are 10 term and conditions , in single multiline textbox ,same problem will come there ,please help me ,to write multiline textbox data as it is in pdf file ?
One more how to set font color in itextsharp?
And i want print only tab control data , how to print without creating pdf ?
Thanx in advance ..My deployment of app extended due to this problem ,please help me..
推荐答案
http://www.mindfiresolutions.com/Create-A -PDF-To-Show-Document-In-Table-Format-Using-C-1824.php [ ^ ]
问候,
Nelge
http://www.mindfiresolutions.com/Create-A-PDF-To-Show-Document-In-Table-Format-Using-C-1824.php[^]
Regards,
Nelge
http://dotnetguts.blogspot.in/2009/06/create-pdf-document-on-fly-in-c-using。 html [ ^ ]
http://www.dotnetspark.com/kb/654-simple-way-to-create-pdf-document-using.aspx [ ^ ]
http://www.developerfusion.com/code/5682/create-pdf-files-on-fly-in-c/ [ ^ ]
http://dotnetguts.blogspot.in/2009/06/create-pdf-document-on-fly-in-c-using.html[^]
http://www.dotnetspark.com/kb/654-simple-way-to-create-pdf-document-using.aspx[^]
http://www.developerfusion.com/code/5682/create-pdf-files-on-fly-in-c/[^]
If You want set font size
BaseFont bfTimes = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.CP1252, false);
Font times = new Font(bfTimes, 12, Font.ITALIC, Color.RED);
http://www.mikesdotnetting.com/Article/81/iTextSharp-Working-with-Fonts [ ^ ]
这篇关于使用c#.net windows应用程序和itextsharp在pdf文件中写入数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!