Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#5

Re: Cannot Assign TBitmapCanvas to TBitmapCanvas

  Alt 26. Feb 2006, 20:47
Hi Silvia,

Zitat von sk.Silvia:
i just only want to save the canvas into TBitmap
you can do that and more when you pick up GrabImage() over there: klick

Delphi-Quellcode:
procedure TDemoForm.GrabButtonClick(Sender: TObject);
begin
  with GrabImage(GetDesktopWindow) do
  begin
    if SaveDialog.Execute then
      SaveToFile(SaveDialog.FileName);
    Free;
  end;
end;
Kind regards

marabu
  Mit Zitat antworten Zitat