Article View: borland.public.cppbuilder.internet.web
Article #258Re: Converting HTML page from TCppWebBrowser into Image
From: Tom
Date: Wed, 07 Feb 2007 07:21
Date: Wed, 07 Feb 2007 07:21
28 lines
2219 bytes
2219 bytes
"Trevor Keegan" <tkeegan@ealink.com> wrote in message news:45c9699a@newsgroups.borland.com... > The page that I was printing out was very long and wider than the Browser > size that I had, which is why I needed to remove the Client aligning, to > allow the browser to automatically resize while I captured the screen. > This meant that there was a bit of flicker, but the entire height and > width was captured correctly. The width was ok. I increased it so that if there was a background image it gets captured. The height was about 10-15px too short though. > The scroll bars were not captured in the image here at all. Are you still using IE6 by chance? I found some source code for from an opensource project that's quite similar to yours. However, it also compares rootwidth,height and uses that if bigger. I think that may solve my dimension issues. I need to take a look at the code again in regards to the scrollbars as they aren't even turning them off but they don't show up in the images. Regards, Tom
Technical Details
Message-ID:
<45c97dfd@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45c7e3f6@newsgroups.borland.com> <45c7ea27$1@newsgroups.borland.com> <45c7f506@newsgroups.borland.com> <45c80675$1@newsgroups.borland.com> <45c85eb5$1@newsgroups.borland.com> <45c910ff$1@newsgroups.borland.com> <45c9483d$1@newsgroups.borland.com> <45c9699a@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4384ebb9896c72c9 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tom" <tom@nospam.net> Newsgroups: borland.public.cppbuilder.internet.web References: <45c7e3f6@newsgroups.borland.com> <45c7ea27$1@newsgroups.borland.com> <45c7f506@newsgroups.borland.com> <45c80675$1@newsgroups.borland.com> <45c85eb5$1@newsgroups.borland.com> <45c910ff$1@newsgroups.borland.com> <45c9483d$1@newsgroups.borland.com> <45c9699a@newsgroups.borland.com> Subject: Re: Converting HTML page from TCppWebBrowser into Image Date: Wed, 7 Feb 2007 01:21:41 -0600 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 68.1.78.156 Message-ID: <45c97dfd@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1170832893 68.1.78.156 (6 Feb 2007 23:21:33 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail