PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Sep 27, 2024 3:25 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jan 17, 2013 4:33 pm 
Offline

Joined: Thu Jan 17, 2013 10:59 am
Posts: 4
Hallo,

I am trying to represent the <= sign on a Table that should be a pdf file in the end.

I tried the following
Code:
string sign = "\u2264" + "25";
row.Cells[1].AddParagraph(sign);

unsuccesfully.

Is there a way to do this?

Thanks in advance for any help.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 17, 2013 5:11 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3110
Location: Cologne, Germany
Hi!

Make sure you enable Unicode for your PDF document (see e.g. the MigraDoc Hello World sample (where it's false by default, but can be set to true in order to use Unicode characters)).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 18, 2013 5:59 am 
Offline

Joined: Thu Jan 17, 2013 10:59 am
Posts: 4
Thanks for the help. It works now!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group