PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

MigraDoc and Unicode in a Table
http://forum.pdfsharp.com/viewtopic.php?f=2&t=2301
Page 1 of 1

Author:  wittag [ Thu Jan 17, 2013 4:33 pm ]
Post subject:  MigraDoc and Unicode in a Table

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.

Author:  Thomas Hoevel [ Thu Jan 17, 2013 5:11 pm ]
Post subject:  Re: MigraDoc and Unicode in a Table

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)).

Author:  wittag [ Fri Jan 18, 2013 5:59 am ]
Post subject:  Re: MigraDoc and Unicode in a Table

Thanks for the help. It works now!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/