Vcl.Graphics.TFont.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create;

C++

__fastcall TFont(void);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TFont

Description

Creates and initializes an instance of TFont.

Call Create to create a font object at runtime.

Create allocates memory for the font resource, and initializes the Color property to clWindowText. Create also initializes the PixelsPerInch property based on the screen resolution.

See Also