//Create a new PDF document
PdfDocument doc = new PdfDocument();
//Add a new PDF page
PdfPage page = doc.Pages.Add();
//Create a new PDF true type font.
PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("Arial", 12, FontStyle.Regular), true);
//Draw the Unicode text
page.Graphics.DrawString("€ $ ¥", font, PdfBrushes.Black, new PointF(10, 10));
//Save the PDF document
doc.Save("output.pdf");
//Close the PDF document
doc.Close(true); |