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?

2
  • Convert the content to byte array, save it and try it Commented Dec 22, 2013 at 15:26
  • Do you have an example of how to do this? Commented Dec 22, 2013 at 15:51

1 Answer 1

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!

Sign up to request clarification or add additional context in comments.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.