This is the file preview on the rtf editor of the rtf file, but when it is read on the word, it looks weird, and unfortunately it's how it looks on the pdf file.
Is there a way to normalize these spaces?
Or even respect then to look exactly how it shows on the rtf editor?
Here's the code for converting the file:
- Code: Select all
Document d = new Document("test.rtf");
d.SaveToFile("test.pdf", FileFormat.PDF);
I'm attaching both the rtf and pdf file for you to check it yourself.
Kind regards,
Luiz Gustavo Alves