Show: Object Pascal C++
Display Preferences


From Appmethod Libraries
Jump to: navigation, search


Object Pascal

TImage = class(TControl, IBitmapObject, IMultiResBitmapObject)


class PASCALIMPLEMENTATION TImage : public Fmx::Controls::TControl


Type Visibility Source Unit Parent
class public
FMX.Objects FMX.Objects


TImage defines 2D image components. It inherits TControl and can be used in styles to construct controls.

Use TImage to display a graphical image on a control.

Use the MultiResBitmap property to specify the multi-resolution set of bitmaps the most appropriate of which will be displayed as the picture on this TImage control. The TImage control shows the bitmap item with the scale best matching to the device resolution. See in the Bitmap property which algorithm is used to define the most appropriate bitmap item.

You can find the list of supported picture formats in TBitmapCodecManager.

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.

See Also

Code Examples

Personal tools