Posted 1 April 2020, 6:04 am EST
Hi, im using richtext component loading and saving rtf,
- load to richtext > this.c1richTextBox.Document = new C1.WPF.RichTextBox.Documents.RtfFilter().ConvertToDocument(rtf_string)
- save from richtext > rtf_string =new C1.WPF.RichTextBox.Documents.RtfFilter().ConvertFromDocument(this.c1richTextBox.Document)
I have this problem, every time i load rtf string into richtextbox, i find a wrong distance between the lines, specifically if i select the text and i go manually into the paragraph > margin > bottom i find it always different than zero,
so i set to zero and i see the correct distance, i save, when i load again i have the same issue.
I’m also sure about the rtf saved because if i load it with a different richtextbox it appear correctly
Any suggestion?