0

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 Answers1

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