如何在c#中点击按钮创建PDF文档 [英] how to create PDF documment on button click in c#

查看:75
本文介绍了如何在c#中点击按钮创建PDF文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

i创建了一个winform,它包含一个文本框和一个按钮。单击按钮,文本框中的数据必须以pdf显示(即必须打开pdf,其中必须包含输入的数据)在tetxbox中)..

只需要一些想法以便我可以继续



谢谢

hello ,
i have created a winform which consist's of a textbox and a button .On button click the data in the textbox must be shown in pdf(ie pdf must open which must contain the data entered in the tetxbox)..
just need some idea so that i can proceed

thank you

推荐答案

您可能需要一个库。例如,请查看 PDFsharp [ ^ ]。
You probably need a library for that. Have a look, for instance, at PDFsharp[^].


CodeProject是你的朋友:[ ^ ]。



并且,您可以享受这种友谊的最佳方式是在提出问题之前搜索网站。



请回来查看具体问题并选择代码示例,说明您需要帮助的地方,或者您遇到困难的地方。
CodeProject is your friend: [^].

And, the best way you can enjoy that friendship is to search the site before you ask a question.

Please come back with specific questions and selected code examples that illustrate what you need help with, or where you are stuck.


您可以使用 itextsharp

pdfsharp 库。


这篇关于如何在c#中点击按钮创建PDF文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆