FMX.Controls.TControl.MakeScreenshot

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function MakeScreenshot: TBitmap;

C++

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

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