delphi 为当前窗口客户区捉图: GetFormImage


本文整理自网络,侵删。

 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.

相关阅读 >>

Delphi 使用openjdk进行Delphi android开发

Delphi 获取用户当前的windows临时文件夹

crc16unt.pas

Delphi 谷歌api文本转换语音mp3文件

Delphi 窗体不可用

Delphi int64:是Delphi中最大的整数,64位有符号整数

Delphi 查找某目录下的特定文件

Delphi中多线程下使用使用 unidac+mssql 需要注意的问题

Delphi xe filesizebyname 要引用哪些文件

Delphi在64位系统下写注册表注意事项

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...