Vcl.Direct2D.TDirect2DFont.Size

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Size: Integer read GetSize write SetSize;

C++

__property int Size = {read=GetSize, write=SetSize, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DFont

Description

Specifies the height of the font in points.

Use Size to specify the point size of the font. If the value is negative, the internal leading that appears at the top of each line of text is included. If the value is positive, Size represents the height of the characters but not the internal leading.

To determine the size of the font in pixels, use the Height property instead.

When the Size property has a positive value, the Height property has a negative value. When the Height property has a positive value, the Size property has a negative value.

See Also