asp.net - Insertion of Illegal Element C# Itextsharp -
i trying value show 3 of 9 font in itextsharp pdf document. here code have set barcode font:
barcode39 whlsc = new barcode39(); whlsc.code = row.cells[13].text; whlsc.font = null; pdfcontentbyte cb = writer.directcontent;
here add doc:
p.add(whlsc.createimagewithbarcode(cb, null, null));
i insertion of illegal element: 35
i have tried doing code 3 of 9 windows/fonts folder no luck. suggestions?
font barcode = fontfactory.getfont("3 of 9 barcode regular", 16f);
Comments
Post a Comment