How can I insert this currency symbol: "₡" to pdf, using itextSharp 5.5.10?
this is what I have:
string fontpath = "C:\\Users\\PC\\Desktop\\";
var font = BaseFont.CreateFont(fontpath + "arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
iTextSharp.text.Font fontArial = new iTextSharp.text.Font(font, 8);
string Colones = new Chunk("\u20A1", fontArial).ToString();
I am able to get the symbol but. When I want to insert the symbol in the pdf, it does not work. I do it like this:
table2.AddCell(new PdfPCell(new Paragraph(Colones+" "+Subtotal)));
I don't know what I am doing wrong.
Thanks in advance.