Vcl.Graphics.TPicture.SaveToStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToStream(Stream: TStream);

C++

void __fastcall SaveToStream(System::Classes::TStream* Stream);

Properties

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

Description

Saves the picture to a stream.

Use SaveToStream to save a picture to the TStream object specified by the Stream parameter.

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

See Also