unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
  Self.GetFormImage.SaveToFile('c:\temp\Form1.bmp');
end;

end.

相关文章:

  • 2022-12-23
  • 2022-01-27
  • 2021-09-24
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
猜你喜欢
  • 2021-07-06
  • 2021-06-12
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案