Vcl.Graphics.TWICImage.LoadFromStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromStream(Stream: TStream); override;

C++

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

Properties

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

Description

Loads the image from a stream into the TWICImage object.

Use LoadFromStream to load the image from a stream. The Stream parameter specifies the stream from which to read the bitmap image. For example, use LoadFromStream to load an image from a BLOB stream that reads from a graphic field in a dataset.

TWICImage can load and store multiple image formats. TWICImage detects, at load time, the actual format of the file being read, and initializes its properties accordingly.

See Also