FMX.MultiResBitmap.TCustomMultiResBitmap.LoadItemFromStream
Delphi
procedure LoadItemFromStream(Stream: TStream; Scale: Single);
C++
void __fastcall LoadItemFromStream(System::Classes::TStream* Stream, float Scale);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.MultiresBitmap.pas FMX.MultiResBitmap.hpp |
FMX.MultiResBitmap | TCustomMultiResBitmap |
Description
Loads the bitmap item from the Stream.
LoadItemFromStream searches the current multi-resolution bitmap for a bitmap item having exactly the specified Scale. If such bitmap item is found, LoadItemFromStream loads the bitmap from this bitmap item. If LoadItemFromStream cannot find a bitmap item with the specified Scale, it creates a new bitmap item with the specified Scale in the current multi-resolution bitmap component and loads the bitmap from the specified Stream into the created bitmap item.