marcosb
Joined: 02 Jul 2008 Posts: 2
|
Posted: Thu Jul 03, 2008 3:03 pm Post subject: Drawing multiline string |
|
|
When I use this code I expect a multiline text
using (XGraphics gfx = XGraphics.FromPdfPage(page))
{
string text = "aaa\r\nbbb\ncccc";
gfx.DrawString(text, font, XBrushes.Black, 20, 20);
}
In fact, when I draw in a winform using gdi+ this text renders in multiple lines.
Is there a way to achieve this with pdf sharp? |
|