I am having issues creating an html document out of a RichTextBox. I am able to get all of the text out of the RichTextBox. This issue is when I go to get images that I pasted in by using Windows Snipping tool don't show up in the document. Is there a way to do this?
1 Answer
Perhaps you could give us a non-working example where the error occurs in order to help you. Anyway, you could also check this and this out.
Hope I helped!
1 Comment
user2214219
The issue is that the first example wont get pasted Images that are in the Rich TextBox. This line: var textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); Only will return the text in the Rich TextBox and not the images