Posted by a ceTe Software moderator
Hello Jim,
The values what you are passing are the decimal values of the symbol single quote. You can use this in XML, and HTML texts without any problem. You will have to use the hexadecimal values when adding to a PDF document. Following is a sample code for this.
Document doc = new Document();
Page page = new Page();
Label label1 = new Label("\u2018", 10, 10, 10, 20);
Label label2 = new Label("\u00AE registered trade mark", 14, 10, 150, 20);
Label label3 = new Label("\u2019", 145, 10, 10, 20);
page.Elements.Add(label1);
page.Elements.Add(label2);
page.Elements.Add(label3);
doc.Pages.Add(page);
doc.Draw(@"C:\Temp\test.pdf");
"\u2018" and "\u2019" are the unicode values to display the single quotes. We have found some information by searching in google which will show the hexavalues and decimal values for these symbols. You can refer to this at
http://www.cs.sfu.ca/~ggbaker/reference/characters/#single.
Thanks,
ceTe Software Support Team.