TCustomRVFontInfo.Size, SizeDouble

<< Click to display table of contents >>

TCustomRVFontInfo.Size, SizeDouble

The properties specify the font height.

property Size: TRVFontSize;

property SizeDouble: TRVFontSize;

(SizeDouble is introduced in version 15)

Size specifies the font size in points.

SizeDouble specifies the font size in half-points, i.e. its value is twice greater than Size.

Assigning to one of these properties changes value another one.

In VCL and LCL version, SizeDouble allows to specify a font size with higher precision. In FireMonkey version, these values are floating point values, SizeDouble is maintained for compatibility with VCL version.

In VCL and LCL version, Size is similar to TFont.Size. In FireMonkey version, TFont.Size is measured in pixels, while Size is measured in points.

 

Default values:

Size: 10

SizeDouble: 20