I have a web browser control whose sample data comes from the rawhtml which is - "<U><STRONG>This is a sample bold text which is underlined. </STRONG></U> <FONT color=#632e35>color of this text is red.</FONT>
<IMG border=0 hspace=0 alt=\"\" align=baseline src=\"C:\\whiteflower.jpg\">"
Once the web browser loads the above rawHtml ,I notice that it displays the data appropriately including the image. I would like to show the data of webbrowser control in flowdocument , preserving all the formatting of web browser control . How can I achieve
this. I have tried to use the DrawToBitmap method, but this cannot be used . The reason is - On top of the form which displays web browser control , I display another form which has flowdocument inside it. Thus even if I calculate the location of x, y for
the webbrowser control to use for DrawToBitmap , it will not help since the new form is diplayed on top of this. I would like to somehow embed what is displayed in webbrowser into a flowdocument.
View Complete Post