|
PHP5中文手册
imagegrabwindow(PHP 5 >= 5.2.2) imagegrabwindow — Captures a window 说明
resource imagegrabwindow
( int $window
[, int $client_area
] )
Grabs a window or its client area using a windows handle (HWND property in COM instance) 参数
返回值Returns an image resource identifier on success, FALSE on failure. 错误/异常E_NOTICE is issued if window_handle is invalid window handle. E_WARNING is issued if the Windows API is too old. 范例
Example#1 imagegrabwindow() example Capture a window (IE for example)
<?php Capture a window (IE for example) but with its content
<?php 注释
|