PDF .NET Library  .NET PDF Component Library. PDF creator, PDF maker.
Home Products Code Library Online Demos Support Buy About Us  
Code Library

How to use Unicode characters in PDF

The code sample below create a PDF file with the Unicode text output.

c# sample:

PDFDocument MyPDF = new PDFDocument("Unicode.pdf");

MyPDF.CurrentPage.Body.SetActiveFont("Tahoma", PDFFontStyles.Regular, 12, Charset.GREEK_CHARSET);

MyPDF.CurrentPage.Body.AddText("εγγράφων σχετικά με τη μύγα από οποιαδήποτε. εφαρμογή δικτύου. Η βιβλιοθήκη δεν");

MyPDF.Save(); 

Back to PDF Code Library