API:FMX.Objects.TImageMultiResBitmap.GetDefaultSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDefaultSize: TSize; override;

C++

virtual System::Types::TSize __fastcall GetDefaultSize();

Properties

Type Visibility Source Unit Parent
function protected
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TImageMultiResBitmap

Description

Retrieves the default image size DefaultSize, in pixels.

FMX.Objects.TImageMultiResBitmap.GetDefaultSize inherits from FMX.MultiResBitmap.TCustomMultiResBitmap.GetDefaultSize. All content below this line refers to FMX.MultiResBitmap.TCustomMultiResBitmap.GetDefaultSize.

Retrieves the default image size DefaultSize, in pixels.

By default, GetDefaultSize returns 32*32. To change this default size override the virtual GetDefaultSize method.

See Also