我想将自定义字体设置为段落的字体,但是我无法使其起作用。我尝试设置.Font=,但它只在字体大小方面有效,而忽略了字体本身。你能帮忙解决吗?
Paragraph T = new Paragraph(newTempLine);
iTextSharp.text.Font contentFont = iTextSharp.text.FontFactory.GetFont("Webdings", 12, iTextSharp.text.Font.NORMAL);
T.Font = contentFont;
myDocument.Add(T);
T.Font = ...
不行? - Joel Peltonen