I am working on ASP.NET MVC project. I am using c#. I am trying to use barcode in abcpdf version 8 but it doesn't seems to be working. I searched online but I didn't get much help anywhere. I am building string using stringbuilder and passing rawhtml using AddImageHtml like below :
int theID;
theID = theDoc.AddImageHtml(sb.ToString());
Here I am binding stylesheet in sb stringbuilder. I tried two things. One trying to reference font locally like :
link rel="stylesheet" type="text/css" href="~/Content/Code39Azalea/Code39Azalea.css">
This didn't work. After I tried to refer from server like this :
link rel="stylesheet" type="text/css" href="http://azalea.com/web-fonts/Code39Azalea.min.css">
which also not working.
When I searched online, I got some results which says @font-face can be used in abcpdf and some which says it doesn't support.
Can someone show me how I can use barcode in abcpdf.