FMX.ImgList.TBitmapItem.Create
Delphi
constructor Create(Collection: TCollection); override;
C++
__fastcall virtual TBitmapItem(System::Classes::TCollection* Collection);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TBitmapItem |
Description
Creates and initializes a TBitmapItem instance.
Collection
is the TMultiResBitmap collection to which the new TBitmapItem bitmap belongs.
If Collection
is not an instance of TMultiResBitmap (or its descendant), Create raises an exception. Then Create calls the inherited TCollectionItem.Create.