[DUG] Website presentation
Paul A Norman
paul.a.norman at gmail.com
Sun Apr 5 18:10:42 NZST 2009
Hi John,
TembeddedWB a build up from Twebbbrowser
Can help you there in a simple fashion.
"Product" overview (free)
*http://www.bsalsa.com/product.html*
Have a look at these two functions covered on
http://www.bsalsa.com/ewb_methods1.html
*GetBmpFromBrowser*(FileName : String): Boolean: Call GetBmpFromBrowser to
create a screen capture of your page. Remember to enter a valid name or path
with name for the file.
Result will be true if the process will end succesfuly.
*procedure* TfrmMain.getAScreanCapture1Click(Sender: TObject);
*begin
if *EmbeddedWB1.GetBmpFromBrowser('site.bmp')then
*begin*
UpdateImage;
Image1.Picture.LoadFromFile('.site.bmp');
ShowMessage('The screen capture is in your application
folder.');
* end;
end*
*GetJPEGfromBrowser*(FileName: string; SourceHeight,
SourceWidth, TargetHeight, TargetWidth: integer): Boolean;
This function is a different method to get a screen capture.
This method is more flexible and you can set also the height and width.
*procedure* TfrmMain.GetJpegPageCapture1Click(Sender: TObject);
*begin*
*if* EmbeddedWB1.GetJpegFromBrowser('.\Site.jpg', Height, Width, Height,
Width) *then*
begin
Image1.Picture.LoadFromFile('.\Site.jpg');
ShowMessage('The page screen capture is in your application folder.')
* end;
end;*
*You can also use print (to pdf) if you have a pdf print driver installed
(cutePdf etc ..) then open the resulting pdf in something like CorelDraw and
work on it if the Jpeg or Bmp approach above does not produce a helpful
result.*
Paul
2009/4/2 PDS - John <John at padasy.co.nz>
> Hi all
>
>
>
> How can I create graphics frames for my website? is the a tool or perhaps a
> website where I can create any?
>
>
>
> John C
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090405/6e9ff94c/attachment.html
More information about the Delphi
mailing list