FMX.Graphics.TBitmap.AssignFromSurface

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AssignFromSurface(const Source: TBitmapSurface);

C++

void __fastcall AssignFromSurface(Fmx::Surfaces::TBitmapSurface* const Source);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBitmap

Description

AssignFromSurface method assigns TBitmapSurface data to TBitmap.

Note: If the data in the TBitmapSurface exceeds the allowable size of the bitmap, then stretching is additionally performed.

See Also