如何在Winforms中从Richtextbox(文本+图像)创建Pdf。 [英] How Do I Create A Pdf From A Richtextbox (Text + Image) In Winforms.
本文介绍了如何在Winforms中从Richtextbox(文本+图像)创建Pdf。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要求用户在不同的文本框中输入文本/图像/图表。在提交按钮时,以特定布局生成pdf。
问题是我能够使用itextsharp库在PDf中生成文本。但是我无法看到它中的图像。
请帮助我如何做到这一点。
Hi,
I have a requirement in which the user enters text/image/charts in different text boxes. On the submit of the button a pdf is generated in a specific layout.
The problem is i am able to generate the text in PDf using itextsharp library. But i am unable to see the image coming in it.
Kindly help me on how to do this.
推荐答案
你需要检查文档 [ ^ ]了解如何从控件访问图像。
You need to check the documentation[^] to see how to access the image from the control.
这篇关于如何在Winforms中从Richtextbox(文本+图像)创建Pdf。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文