Checkbox in Itext 7 PDF VB
Hi
Not sure where to post this....
I'm tring to add a empty non-functional check box to a PDF document using Itext7. Using VS 2022 vbnet VB .
It's driving me nutsd. I have the pdf doc working and the last thing I need is a checkbox.
Any Ideas?
Dazed and Confused :o
Thanks
-dan
Re: Checkbox in Itext 7 PDF VB
This worked. My thanks to Konstantin Makarov for providing the answer :)
Imports System.IO
Dim wdFont = PdfFontFactory.CreateFont(System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder .Fonts),"wingding.ttf"))
Table.Add(New Text(ChrW(&HA8)).SetFont(wdFont).