I'm using ASP.NET MVC. I want to make the font style bold. But I guess addList
and insertList
don't have bold property. How can I do it ?
Asked
Active
Viewed 243 times
0

marc_s
- 732,580
- 175
- 1,330
- 1,459
-
Could you write code to your question? – Dmitry Aug 20 '21 at 07:43
-
var bulletedListCertificate = document.AddList( !string.IsNullOrEmpty(item.CertificateName) ? ToTitleCase(item.CertificateName) : "", 2, ListItemType.Bulleted); document.InsertList(bulletedListCertificate, new Font("Arial"), 10); – Kübra Sönmez Aug 20 '21 at 08:03
-
try to replace second line to: `document.InsertList(bulletedListCertificate, new Font("Arial",12,FontStyle.Bold), 10);` – Dmitry Aug 20 '21 at 11:38