TVirtualUI.TakeScreenshot Method
Takes a screenshot of a Window.
Pascal
function TakeScreenshot(Wnd: Integer; const FileName: WideString): WordBool; safecall;
Parameters
Description
Wnd: Integer
The Window to capture.
const FileName: WideString
Full path of file to save screenshot. Extensions allowed: jpg, bmp, png.
Group
TVirtualUI Methods