QG_GetCaptionFont(areaRef; fontName; fontSize; textFace):error
areaRef Longint QGrid area reference
fontName Text Font name
fontSize Longint Font size
textFace Longint Text style
error Longint Error result

Get the caption font

Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.

Parameters fontName and fontSize receive the name and the size in points of the font.

Parameter textFace receives the text style. The text style is a combination (sum or bitwise "or") the following 4D constants:

Constant Value
Plain 0
Bold 1
Italic 2
Underline 4

Related commands

QG_SetCaptionFont Set the caption font
QG_GetCaptionColors Get the caption colors
QG_GetCaptionAlignment Get the caption text alignment