Vcl.Graphics.TWICImage.SaveToStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToStream(Stream: TStream); override;

C++

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

Properties

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

Description

Saves the image to a stream.

Use SaveToStream to write the image to the stream specified by the Stream parameter. For example, specify a TBlobStream object as the Stream parameter to save the bitmap image to a graphic field in a dataset.

TWICImage can manipulate images in multiple formats. The actual format in which the image is saved into the stream is dictated by the ImageFormat property.

See Also