Vcl.Imaging.pngimage.TPngImage.LoadFromStream
Delphi
procedure LoadFromStream(Stream: TStream);
C++
virtual void __fastcall LoadFromStream(System::Classes::TStream* Stream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Loads a png image from a stream.
Call LoadFromStream to load a png image from a stream. The newly loaded image replaces the one stored in the TPngImage class. If the stream does not contain a valid png image, an exception is raised.