Vcl.Direct2D.TDirect2DFont.Height
Delphi
property Height: Integer read GetHeight write SetHeight;
C++
__property int Height = {read=GetHeight, write=SetHeight, 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.
Use Height to specify the height of the font, in pixels. If the value is negative, the internal leading that appears at the top of each line of text is not measured. If the value is positive, Height represents the height of the characters plus the internal leading.
To specify the size of the font in points, use the Size property instead. Users usually specify font size in points, while applications may be concerned with the actual size of the font in pixels when displaying the font on the screen.
When the Height property has a positive value, the Size property has a negative value. When the Size property has a positive value, the Height property has a negative value.