Source is not recognized in PDF generation

Asked

Viewed 174 times

3

I am using the Itextsharp library to create PDF’s and I am having problems with the source of the document, I have the error "Font is an ambiguous", I have looked in several places and all the examples end up giving the same error, someone knows how to fix this or has the library documentation so I can use it?

Example of the code I’m using and getting the error I said.

Paragraph p = new Paragraph(aluno.Nome, new Font(Font.Bold, 14));

1 answer

3


  • Valeeu big, solved the problem and now I will be able to take a good look at this library.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.