Jump to content

Recommended Posts

Guest sebapi
Posted

Hello!

I use DocumentText property to display my web content. If it contains image then webBrowser doesn't display it.

How can I display images with using DocumentText property ?

Thanks for help.

Sebastian.

Posted (edited)

you should be able to display it in webBrowser - what exactly happens?

Edited by Tech
Guest sebapi
Posted
you should be able to display it in webBrowser - what exactly happens?

In webBrowser is display empty rectangle with "x". When I use webBrowser.Navigate image is display, but when I use StreamReader to read content of html file to string and then use DocumentText the same image doesn't display on webBrowser.

Guest sebapi
Posted

Thanks for help.

I solved this problem.

Src attribute in string has to have the full url value, for example:

Sebastian

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.