PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Multiline Texts https://forum.pdfsharp.net/viewtopic.php?f=2&t=1484 |
Page 1 of 1 |
Author: | mornej [ Sun Dec 26, 2010 6:23 pm ] |
Post subject: | Multiline Texts |
Hi how can I add text to a PDF document that has multiple lines of text that I get from a multiline textbox which is not in multiple lines not in one single line. When I add text like: jsdkjfhsdfsdf dsf sd fsd fsd fds sdf sdsdf in a textbox then click create document then it puts it in a single line not double line. Thanks |
Author: | jeffhare [ Mon Dec 27, 2010 6:28 pm ] |
Post subject: | Re: Multiline Texts |
Simply add each word as in its own paragraph. If you add all the words to a single paragraph MigraDoc will attempt layout a single paragraph and word wrap the paragraph to fit the area. Alternatively, you could add the MigraDoc line break character (SymbolName.LineBreak) following each word. -Jeff |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |