🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #543

Re: Save Web page to image

#543
From: Asger Joergensen
Date: Thu, 31 Jan 2008 13:55
17 lines
1266 bytes
Hi sky 
 
 sky says:
> hi all
> 
> I open a web page with TCppWebBrowser, is there a way to save the current 
> page as a image?
> 
> Any hint will be great appreciated

You can use GetDC to get the Canvas Handle of the window
and the You can use BitBlt to copy it to a bitmap, but
You will only get the visible part of the web page.

Kind regards
Asger
Technical Details
Message-ID: <MPG.220bf1ce93a7605989a25@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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
References: <47a13432$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9fd3069b5a354a28
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Joergensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Save Web page to image
Date: Thu, 31 Jan 2008 14:55:49 +0100
Message-ID: <MPG.220bf1ce93a7605989a25@newsgroups.borland.com>
References: <47a13432$1@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.220.89
X-Trace: newsgroups.borland.com 1201787869 83.73.220.89 (31 Jan 2008 05:57:49 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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