Re: Exporting to RTF-formatted strings does not preserve whitespace

  •  07-31-2007, 7:48 AM

    Re: Exporting to RTF-formatted strings does not preserve whitespace

    Adam,
     
    We are having the same issue in our application.  When we use the LoadRTF method, such as the following example, no whitespace seems to be preserved.
     
    Example code:
    string temp = "here_is_a_bunch_of_rtf_markup_with_spaces_between_words";
    editor.LoadRTF(temp);
     
    If the original, formatted text was: Here we have a test.
    Then the output from loading the RTF formatted text will be: Herewehaveatest.
     
    Is there a fix or a workaround for this yet?
    Thanks.
View Complete Thread