FMX.ImgList.TMultiResBitmap.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TPersistent; ItemClass: TCustomBitmapItemClass);

C++

__fastcall TMultiResBitmap(System::Classes::TPersistent* AOwner, Fmx::Multiresbitmap::TCustomBitmapItemClass ItemClass);

Properties

Type Visibility Source Unit Parent
constructor public
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TMultiResBitmap

Description

Creates and initializes a TMultiResBitmap multi-resolution bitmap.

AOwner identifies the source item to which the new TMultiResBitmap multi-resolution bitmap belongs.

If AOwner is not an instance of TCustomSourceItem (or its descendant), Create raises an exception. Then Create calls the inherited TCustomMultiResBitmap.Create and then initializes SourceItem with AOwner.

See Also