Font properties are specified using the syntax:
"FaceName" "ForeColor" "BackColor" Style Size
Parameter |
Description |
FaceName |
The font face name as it appears in the Text properties. The name must be enclosed in double quotes. |
ForeColor |
The font color name. See Colors for details. |
BackColor |
The background color for the text block. See Colors for details. |
Style |
Add the following values to get the style or alignment you want: None (style) or Top, or Left alignment = 0 Horizontal alignment = 1 Right alignment = 2 Baseline alignment = 4 Bottom alignment = 8 VCenter alignment = 12 Bold = 16 Italics = 32 Strikethrough = 64 Underline = 128 Add background color to text = 61440 The style and alignment flag is entered as a number and it is not enclosed in double quotes. Not all font settings have alignment options. Please check the dialog before using alignment numbers. |
Size |
The size of the text in points. This is entered as a number and it is not enclosed in double quotes. |
Example:
"Braggadocio" "Black" "White" 0 6
See Also