DIAdem 10. has more detailed description of the font
Description of the Font Property
The Font object specifies the font, the font style, the font size, and the font attributes of controls in a user dialog box. The Font object consists of the following properties, which you enter in a string, separated by commas.
Refer to the Microsoft help file on LogFont structure for more information.
lfHeight |
LongInteger. Specifies the font size. |
lfWidth |
LongInteger. Reserved (=0). |
lfEscapement |
LongInteger. Reserved (=0) |
lfOrientation |
LongInteger. Reserved (=0). |
lfWeight |
LongInteger. Specifies the width of the font in a value range from 0 to 1000. 400 creates a normal font, and 700 creates a bold font. 0 is the standard width. |
lfItalic |
Byte. Specifies whether the text appears in italics. |
lFUnderline |
Byte. Specifies whether the text appears underscored. |
lfStrikeOut |
Byte. Specifies whether the text appears crossed out. |
lfCharSet |
Byte. Specifies the font. (0=ANSI_CHARSET, 1=DEFAULT_CHARSET, 2=SYMBOL_CHARSET) |
lfOutPrecision |
Byte. Reserved |
lfClipPrecision |
Byte. Reserved |
lfQuality |
Byte. Reserved |
lfPitchAndFamily |
Byte. Reserved. |
lfFaceName |
String. Specifies the font. |
Examples
The following example specifies the font for Text1 as Arial, 10 pt, standard:
Text1.Font = "-13,0,0,0,400,0,0,0,0,3,2,1,34,Arial"
The following example specifies the font for Text1 as Windings, 11 pt, bold:
Text2.Font = "-15,0,0,0,700,1,0,0,2,3,2,1,2,Windings"