Create UnderLine font with PdfFileWriter to report an error

27 Views Asked by At
error:font resource cannot have underline or strikeout.
PdfFileWriter.PdfFont font = PdfFileWriter.PdfFont.CreatePdfFont(pdfDocument, FontName, FontStyle.Underline);

I looked at the help documentation for PdfFileWriter and didn't find any useful help. Do you have any good plans or suggestions?

0

There are 0 best solutions below