TClrFont.Create(String,Single,TFontStyle_Set,TGraphicsUnit,Byte) Constructor
Initializes a new instance of the TClrFont class using a specified size, style, unit, and character set.
public constructor Create(AFamilyName: String; ASize: Single; AStyle: TFontStyle_Set; AUnit: TGraphicsUnit; AGdiCharSet: Byte); overload;
Parameters
- AFamilyName
- Type: String
A string representation of the FontFamily for the new Font.
- ASize
- Type: Single
The em-size, in points, of the new font.
- AStyle
- Type: System.Void
The FontStyle of the new font.
- AUnit
- Type: System.Void
The GraphicsUnit of the new font.
- AGdiCharSet
- Type: Byte
A Byte that specifies a GDI character set to use for this font.
The gdiCharSet parameter takes a value from the list defined in the Windows SDK header file WinGDI.h. Windows Forms applications support TrueType fonts and have limited support for OpenType fonts. If the familyName parameter specifies a font that is not installed on the machine running the application or is not supported, Microsoft Sans Serif will be substituted.