Show: Delphi
C++
Display Preferences
FMX.Objects.TImage
From XE2 API Documentation
Delphi
TImage = class(TControl)
C++
class PASCALIMPLEMENTATION TImage : public Fmx::Types::TControl
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | FMX.Objects |
Description
TImage defines 2D image components. It inherits TControl and can be used in styles to construct controls.
Use the Bitmap property to specify the picture that will be displayed by this TImage component. You can find the list of supported picture formats in FMX.Types.TBitmapCodec.
Use the WrapMode property to specify whether and how to resize, replicate, and position the bitmap image for rendering the TImage surface.
Notice that if any BitmapMargins is defined, then WrapMode is ignored.