Thank you for writing.
It is normal that the Block
elements are separated by an empty line. The Paragraph
is a derivative of Block
. Inline elements , e.g. Span
, represents an inline object that allows you to display formatted text. The Spans
can only be used in the context of a Paragraph
class. As the spans are inline elements they get placed one after another and the text inside them gets wrapped to the next line if the space
is insufficient. You can iterate all sections in a document, traverse all paragraphs in a section and copy each span from the paragraph and add it to the result document. Thus, no empty lines will be added.
I hope this information helps. Should you have further questions I would be glad to help.
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post
and share your thoughts.