Sign in Join
FPDoc Onlineexperiment

TGraphic.LoadFromStream procedure

Member of TGraphicpublicIn unit Graphics

Reads graphic data from a stream.

Declaration

pascal
procedure LoadFromStream(Stream: TStream); virtual; abstract

Arguments

Stream

TStream instance with the graphic data read in the method.

Description

LoadFromStream is an abstract virtual method used to load graphic data from the stream instance specified in Stream. It must be implemented in a descendent class to provide support for reading a specific image format from the stream.

LoadFromStream is used in the implementation of methods like: ReadData, LoadFromMimeStream, LoadFromResourceID, LoadFromResourceName, LoadFromLazarusResource, and LoadFromFile.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.