using PdfSharp.Drawing.Layout;
static readonly string[] texts = new string[] {"आपके"};
public static void Main()
PdfDocument document = new PdfDocument();
XPdfFontOptions options = new XPdfFontOptions(PdfFontEncoding.Unicode, PdfFontEmbedding.Always);
XFont font = new XFont("Times New Roman", 12, XFontStyle.Regular, options);
for (int idx = 0; idx < texts.Length; idx++)
PdfPage page = document.AddPage();
XGraphics gfx = XGraphics.FromPdfPage(page);
XTextFormatter tf = new XTextFormatter(gfx);
tf.Alignment = XParagraphAlignment.Left;
tf.DrawString(texts[idx], font, XBrushes.Black,
new XRect(100, 100, page.Width - 200, 600), XStringFormats.TopLeft);
const string filename = @"c:\temp\Unicode_tempfile.pdf";