FMX.MultiResBitmap.TCustomBitmapItem.Scale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Scale: Single read FScale write SetScale stored ScaleStored nodefault;

C++

__property float Scale = {read=FScale, write=SetScale, stored=ScaleStored};

Properties

Type Visibility Source Unit Parent
property public
FMX.MultiresBitmap.pas
FMX.MultiResBitmap.hpp
FMX.MultiResBitmap TCustomBitmapItem

Description

Indicates the scale of the bitmap item.

Scale is used to select the appropriate bitmap item from the multi-resolution bitmap, to define the zoom factor to magnify the source image, and to other service functions.

The Scale value is rounded to a power of ten (see RoundTo) specified by the

FMX.MultiResBitmap.TCustomBitmapItem.ScaleRange = -3

constant.

See Also