Vcl.Graphics.TBitmap.CanLoadFromStream
Delphi
class function CanLoadFromStream(Stream: TStream): Boolean; override;
C++
__classmethod virtual bool __fastcall CanLoadFromStream(System::Classes::TStream* Stream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Vcl.Graphics.TBitmap.CanLoadFromStream inherits from Vcl.Graphics.TGraphic.CanLoadFromStream. All content below this line refers to Vcl.Graphics.TGraphic.CanLoadFromStream.
CanLoadFromStream returns True when a specified stream contains a streamed image of a specific TGraphic subclass.
The method uses current stream position, it does not change current stream position.