Vcl.Graphics.TPicture.SaveToFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToFile(const Filename: string);

C++

void __fastcall SaveToFile(const System::UnicodeString Filename);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPicture

Description

Writes the picture to disk.

Use SaveToFile to save a TPicture object to the file specified in Filename.

The saved picture can be loaded to another TPicture or to an appropriate TGraphic descendant by calling its LoadFromFile method.

See Also

Code Examples