PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Spacing between words and Multiline http://forum.pdfsharp.com/viewtopic.php?f=2&t=4018 |
Page 1 of 1 |
Author: | Giulia [ Tue Sep 24, 2019 7:56 am ] |
Post subject: | Spacing between words and Multiline |
Hello, I ask for help for two problems: - spacing between words: the generated pdf prints the strings with excessive spacing. Is it possible to reduce/customize the size of the space? - multiline: if I have a multiline text I can count how many lines there are based on \n, but if the text wraps for reasons of available space I can't count the correct number of lines. Is there a way to count the exact number of lines occupying the text? Thanks |
Author: | Thomas Hoevel [ Tue Sep 24, 2019 8:11 am ] |
Post subject: | Re: Spacing between words and Multiline |
Hi! Welcome to the forum. Giulia wrote: - spacing between words: the generated pdf prints the strings with excessive spacing. Is it possible to reduce/customize the size of the space? If PDFsharp is used properly there is no excessive spacing.Giulia wrote: - multiline: if I have a multiline text I can count how many lines there are based on \n, but if the text wraps for reasons of available space I can't count the correct number of lines. Is there a way to count the exact number of lines occupying the text? Try the XTextFormatter class and modify it if you want more.viewtopic.php?f=8&t=3192 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |