Check Mark in iTextSharp

泄露秘密 提交于 2019-12-08 10:47:27

问题


I am building a pdf. I would like to have some text and next to the text a check mark. Does anyone have an idea as to how to do this?

Thanks


回答1:


One way is to create a PNG of a check mark, load the image and draw it next to your text. I've done something similar many times but not specifically with iTextSharp. Here is an iText example to get you started though.




回答2:


Use this for checkmarks as bullets :

List myList = new ZapfDingbatsList(52);

ZapfDingbatsList(52) - checkmark in bold.
ZapfDingbatsList(51) - checkmark in normal.



来源:https://stackoverflow.com/questions/1531203/check-mark-in-itextsharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!