Articles in this section
Category / Section

How to preserve EURO symbol in PDF.

1 min read

How to preserve EURO symbol in PDF:

EURO symbol can be rendered by using the suitable TrueType font. Below is the code snippet that shows how to add an Euro symbol to the PDF document.

C#

//Creates new pdf document
PdfDocument doc = new PdfDocument();
//Adds new page
PdfPage page = doc.Pages.Add();
//Draw the Euro symbol using the true type font
PdfTextElement text = new PdfTextElement("€", new PdfTrueTypeFont(new Font("Arial", 12, FontStyle.Bold)));
 
text.Draw(page.Graphics);
 
//Save the document and dispose it.
doc.Save("Output.pdf");
doc.Close(true);
 

 

Sample Link:

https://www.syncfusion.com/downloads/support/directtrac/146113/ze/EuroSymbol-2085429548

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied