Board index » delphi » Saving to bitmaps

Saving to bitmaps

Hi

Is their a way of saving what is displayed on a form or in a component to a
bitmap file.  I am using htmllite and i would like to save what is loaded in
the component to a bitmap.  This would be usefull if it could also be done
for all types of components/forms etc

thanks lee

 

Re:Saving to bitmaps


Quote
>Lee J Cook wrote:

>Is their a way of saving what is displayed on a form or in a component
>to a bitmap file.

Check these methods for starters:

  TForm.GetFormImage
  TWinControl.PaintTo
________
Andreas
Delphi 5.01 Pro, Win2K Sp2
Direct replies mailto:paw...@gmx.net

Re:Saving to bitmaps


I have looked at the TWinControl.PaintTo but this will only save the visible
area to a bitmap is it possible or is their a modification so that in a
scrollable window / component like a tmemo it will also save the undisplayed
parts ??

Thanks for your time

Lee

Quote
"Andreas Pawlik" <paw...@gmx.net> wrote in message

news:3B61A44E.F6140F3A@gmx.net...
Quote
> >Lee J Cook wrote:

> >Is their a way of saving what is displayed on a form or in a component
> >to a bitmap file.

> Check these methods for starters:

>   TForm.GetFormImage
>   TWinControl.PaintTo
> ________
> Andreas
> Delphi 5.01 Pro, Win2K Sp2
> Direct replies mailto:paw...@gmx.net

Re:Saving to bitmaps


Quote
>Lee J Cook wrote:

>I have looked at the TWinControl.PaintTo but this will only save the
>visible area to a bitmap is it possible or is their a modification so
>that in a scrollable window / component like a tmemo it will also save
>the undisplayed parts ??

You want to take a photo of something invisible?  <g>
________
Andreas
Delphi 5.01 Pro, Win2K Sp2
Direct replies mailto:paw...@gmx.net

Other Threads