How can i set background color of text if i am using addhtml
method only. as add HTML method is only supporting number of HTML tags is there any workaround. This is what i have done
theDoc.Rect.String = "35 725 560 765";//35 745 560 765
int theFont1 = theDoc.AddFont("Arial", LanguageType.Latin, false);
theDoc.FontSize = 14;
theID = theDoc.AddHtml("<p align='center'><font pid=" + theFont1.ToString() + " font-weight='bold'>" + doc_ref + " - " + doc_name + "</font></p>");