471,315 Members | 1,913 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,315 software developers and data experts.

C# Webbrowser vs MSHTML rendering

I've been having a number of headaches trying to use the Webbrowser
control and MSHTML to generate off screen images of webpages. I've got
it working on a good number of sites, except the following example:

if a webpage's source code includes a div like this:

style="position:absolute;top:117px;left:130px;widt h:380px;height:166px;"
<p><h1>Photography Galleries</h1></p>

with the CSS class defined as such:

border:1px solid black;
opacity: 0.6;

The div and it's childern do not appear to get rendered by the MSHTML
IHTMLElementRender object (using DrawToDC function). However they do
appear in the original Webbrowser cotnrol's client area. Am I missing a
setting somewhere?

Dec 17 '05 #1
0 1743

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Toma Marinov | last post: by
15 posts views Thread by Laurent Lequenne | last post: by
reply views Thread by Jocker | last post: by
reply views Thread by Andy Bates | last post: by
2 posts views Thread by M R | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.