I have two RichEditBoxs like attached file.
Both RichEditBox are created by same function,then I changed only BackGroundColor and Canvas.Left and Top.
Originary I copied content from visual studio and web page on Opera,then pasted to RichEditBox on right side.
Then I get RTF string from right one with TextGetOptions.FormatRtf,then set this string to the left one with TextSetOptions.FormatRtf. It means both contents are same. But obviously line spaces of both are different.
I can't reproduce this ,but sometimes it happens.
I wanna know why it happens and where should I check to determine which property's difference makes this difference.
I checked RichEditBox.Document.GetRange(50,50).ParagraphFormat, but they looks similar.
Regards,
cyclops