Description
Allows you to find the height of the font for a column or computed field. This function takes the column name as an argument. Use this function to set the minimum height to the size of the font.
Syntax
FontHeight ( column )
Argument |
Description |
---|---|
column |
The column for which you want to find the font height. Column can be a column name or a column number preceded by a pound sign (#). Column can also be an expression that includes a reference to the column. |
Return value
Long. Returns the height of the font for the column:
56 -- font size: 9
64 -- font size: 10
72 -- font size: 11
76 -- font size: 12
Example
dw_1.object.fname.Height = "0~tFontHeight(fname)"