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?
Asked
Active
Viewed 1,334 times
0
-
Convert the content to byte array, save it and try it – Kumareshan Dec 22 '13 at 15:26
-
Do you have an example of how to do this? – user2214219 Dec 22 '13 at 15:51
1 Answers
2
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!

Pantelis Natsiavas
- 5,293
- 5
- 21
- 36
-
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 – user2214219 Dec 22 '13 at 15:49