RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFont.Create Constructor

Creates and initializes an instance of TFont.

Pascal
constructor Create;
C++
__fastcall 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!