FMX.Controls.TControl.MakeScreenshot

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MakeScreenshot: TBitmap;

C++

Fmx::Graphics::TBitmap* __fastcall MakeScreenshot();

Properties

Type Visibility Source Unit Parent
function public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Takes and returns a screenshot of the control.

MakeScreenshot creates a new TBitmap, draws on it the image of the current control by calling PaintTo, and returns it.

See Also