Is there a way to add text to a FormattedText object without adding a new line (as in the AddNewLine method)? Or do I just remake the object with the additional text added?
AddNewLine appears to double space when it adds a line. Can I control it so that it will single space?
I’m sorry, I couldn’t understand your question properly. Can you please share a sample output, along with the code snippet? This will help me understand the problem.
OK. I 've attached the code and the output. I've addressed a couple concerns.
In another message you told me to try using the IsWordWrap to make the text wrap on an AddText command. I set it, but the word wrap is cutting the sentence off where it wraps and also at the bottom of the box. The box should be plenty big enough for the whole sentence, shouldn't it? And notice that it is double-spaced. If we can make it wrap correctly, I need for it to be single-spaced.
The AddNewLine method double spaces each new line it adds. I need that to be single spaced too.
The output was produced with pdf.kit 3.7. Since I posted this I installed 3.8 and the results are the same.
Thank you very much for sharing the documents. I have logged both of these issues as PDFKITNET-11596 and PDFKITNET-11597 in our issue tracking system. Our team will be looking into the issues and you’ll be updated via this forum once the issues are resolved.