sebapi

DocumentText and image display

5 posts in this topic

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.

0

Share this post


Link to post
Share on other sites

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

Edited by Tech
0

Share this post


Link to post
Share on other sites
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.

0

Share this post


Link to post
Share on other sites

post/upload the code

0

Share this post


Link to post
Share on other sites

Thanks for help.

I solved this problem.

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

Sebastian

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.