PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Help needed with formatting text as Bold http://forum.pdfsharp.de/viewtopic.php?f=2&t=3260 |
Page 1 of 1 |
Author: | gnery [ Mon Jan 04, 2016 10:09 pm ] | ||
Post subject: | Help needed with formatting text as Bold | ||
Hi. I'm using version 1.32 on windows 10. I have this code, adding text into a paragraph inside a table: Code: var section = this.document.AddSection(); var table = section.AddTable(); var row = CreateRow(table); var p = row.Cells[index].AddParagraph(); p.AddFormattedText(pdfElement.CellLabel, TextFormat.Bold); When I render the document, the output is not Bold (see attached PDF) The output .mdddl indicates that the text should be bold (see attached .mdddl) What am I missing? Thank you!
|
Author: | TH-Soft [ Tue Jan 05, 2016 6:52 pm ] |
Post subject: | Re: Help needed with formatting text as Bold |
Hi! You can attach ZIP files with the PDF and the MDDDL. Have you tried both GDI build and WPF build? Have you tried the latest 1.50 beta version? |
Author: | gnery [ Tue Jan 05, 2016 7:18 pm ] |
Post subject: | Re: Help needed with formatting text as Bold |
I attached the files to the original message. I didn't try the different builds. I have no idea what build I use because I'm a new employee in the company and no one knows the answer to that. I prefer not to change the DLLs I use right now since I will have to test all our PDF creation flows and I don't have the time for that. I will do it, though, if it will be the last resort. Any other ideas? Any other details I should provide? Thank you! |
Author: | TH-Soft [ Tue Jan 05, 2016 9:20 pm ] |
Post subject: | Re: Help needed with formatting text as Bold |
gnery wrote: Any other ideas? Search for "Ariel", replace with "Arial" - and enjoy.
|
Author: | gnery [ Wed Jan 06, 2016 5:20 pm ] |
Post subject: | Re: Help needed with formatting text as Bold |
OK now that's amazing... Are you a psychic? I changed everything to 'Arial' and it worked. Thank you so much!! |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |