How To make Sptamed text bold


Product Version:PDFTron.NetCore.Windows.x64(9.3.0)

I am using the following code to stamp the text on a pdf, it did work fine for me. The only thing is I want to make it bold. Can anyone please help me with this ?

string ProcedureVersion = "Revision 855(Copy1)(Copy1)(Copy1)(Copy1)(Copy1)(Copy1) (Copy 1)";

 myFont = Font.Create(pdfdoc, "Arial", ProcedureVersion);      
  element = eb.CreateTextBegin(myFont, font_sz);

eb.CreateUnicodeTextRun($"Some Text");


Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


PDF files do not have explicit setting for Bold. Instead, you need to actually select a Bold font face. Such as.

myFont = Font.Create(pdfdoc, "ArialBold", ProcedureVersion);