Code: Select all
var pdf = new GdPicturePDF();
pdf.LoadFromFile(@"Third2.pdf", false);
var fontResName = pdf.AddStandardFont(PdfStandardFont.PdfStandardFontHelvetica);
pdf.SetTextSize(50);
pdf.SetFillColor(Color.Black);
pdf.DrawText(fontResName, 0, 500, "Hello World");
pdf.SaveToFile("test2.pdf");
pdf.CloseDocument();
Any thought where the word spacing comes from, Can I set the word spacing? and how do I make sure all the texts are drawn as the first picture?
Thank you in advance.