添加文字或序列号动态地转换为图像并将其转换为PDF [英] Add text or S.No. dynamically to an image and convert it to PDF

查看:146
本文介绍了添加文字或序列号动态地转换为图像并将其转换为PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,朋友们请帮忙.非常紧急.

我有优惠券的图片.我必须在图像上动态添加优惠券编号,然后将其转换为PDF以在asp.net和c#中作为附件发送邮件.

预先表示感谢.

Hello Friends please help. it is very urgent.

I have an image of coupon. I have to add Coupon number on image dynamically and convert it to PDF to send mail as attachment, in asp.net & c#.

Thanks in advance.

推荐答案

要将文本添加到图像,请参见
TO add text to an image see here[^].

Converting to a pdf will require a third party like iTextSharp. Check their website for tutorials.


互联网上有许多免费的PDF库.

PDFSharp [ iTextSharp [ ^ ]
只是数百个中的两个.

两者都不是特别容易使用.
There are many free PDF libraries available on the internet.

PDFSharp[^]
and
iTextSharp[^]
are just two of hundreds.

Neither are particularly easy to use though.


^ ]是如何在优惠券图像上绘制文本的方法.
将图像文件转换为PDF [
Here[^] is how you can draw text on your coupon image.
Converting Image Files to PDF[^] will help you to convert your image to PDF.
:thumbsup:


这篇关于添加文字或序列号动态地转换为图像并将其转换为PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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