TcxCanvas.FontHeight(TFont) Method
In This Article
Returns the height of a string rendered in the current font in pixels.
#Declaration
#Parameters
Name | Type |
---|---|
AFont | TFont |
#Returns
Type |
---|
Integer |
#Remarks
Call this function to determine the height of a string written with the font passed as the AFont parameter. Other image elements such as lines, boxes, or additional text lines can then be positioned to accommodate the text height.
See Also