FMX.Graphics.TBitmap.SaveToFile
Delphi
procedure SaveToFile(const AFileName: string; const SaveParams: PBitmapCodecSaveParams = nil);
C++
void __fastcall SaveToFile(const System::UnicodeString AFileName, const PBitmapCodecSaveParams SaveParams = (PBitmapCodecSaveParams)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TBitmap |
Description
Saves the current TBitmap to a file.
The AFileName
parameter specifies the name of the file.
The Params
parameter is optional. It specifies the parameter used by the image coder. If not specified, it is considered an empty string.
Note: For a list of formats supported by each platform, see TBitmapCodecManager.