Screenshot

For all versions of Delphi and C++ Builder from 3 to 10.2 Tokyo and for all versions of Windows from XP to 10

Screenshot allows to get image of any form and control in your application of any window in your system as well as image of entire desktop.

TScreenshot Interface

function Snap: Boolean;
Main method of component. It copies image from the selected source to internal buffer reperesented by Screenshot property. Return value is True is the image was copied successfully, otherwise False.

property Screenshot: TBitmap;
This read-only property contains screenshot image. You can use it as usual TBitmap object, for instance, you can assign it to TImage's Picture property (Image1.Picture.Assign(Screenshot1.Screenshot);), save image using standard TBitmap methods (Screenshot1.Screenshot.SaveToFile('filename.bmp');) and so on.

property Source: TScreenshotSource;
You can choose screenshot source between desktop, form that owns the component, control on any form of your application and window in your Windows.