none
Outlook form region RichTextBox text format not maintaning RRS feed

  • Question

  • Hi,

    I have developed addin which implements form region for outlook 2010 , 2013.

    This form region contains one RichTextBox.

    One of the funcionallity is Copy Html content from Windows forms Webbrowser to that RichtextBox.

    It is getting runtime , What i am doing is coping Webbrowser's content to clipboard and calling RichtextBox's Paste method

    //Copy Code
    webBrowser.Document.ExecCommand("SelectAll", false, null);
    webBrowser.Document.ExecCommand("Copy", false, null);

    //Paste Code
    txtRichtextBox.Paste();

    Problem is that if html content is having images,different font , margins , font colors and intents are not maintaing on paste in RichTextbox.

    Do i Missing somethimg on it ?
    Do RichtextBox doesn't support all above requirements.

    Need help with this.

    Thanks in advance.
    Tuesday, May 31, 2016 4:32 AM

Answers

All replies