PDF .NET Library Logo
Home Products Code Library Online Demos Support Forum Buy About Us  
Code Library

Working with Arabic Characters

The code below creates a PDF document containing Arabic text.

c# sample:

PDFDocument doc = new PDFDocument("sample.pdf");

doc.CurrentPage.Body.SetActiveFont("Arial", PDFFontStyles.Regular, 12, Charset.Unicode);

doc.CurrentPage.Body.TextOut(0, 0, 0, "اتبانسع اتانضتاصت");

doc.Save();

Back to PDF Code Library