how to write data in to pdf using c#
<p>using <code>Pdfsharp</code></p>

<pre><code> PdfDocument document = new PdfDocument();
 document.Info.Title = "Title";

 // Create an empty page
 PdfPage page = document.AddPage();

 // Get an XGraphics object for drawing
 XGraphics gfx = XGraphics.FromPdfPage(page);

 // Create a font
 XFont font = new XFont("mationHC39M", 6);
</code></pre>

<p>here its taking font from cilent system..i want add the font from server..
this would be <code>Server.MapPath(Request.ApplicationPath) + "\\Content\\mationHC39M.ttf</code>
how to put this path in the above code...</p>

<p>or how to add font from this path....</p>
