Vcl.Graphics.TPicture.LoadFromStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromStream(Stream: TStream);

C++

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

Properties

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

Description

Reads the picture from a Stream.

Use LoadFromStream to read a picture from a TStream object. The TGraphic class created is determined by the type of data contained in the stream.

The data in the stream should be previously written by a call to the SaveToStream method of another TPicture or of a TGraphic descendant.

See Also