Home > Language Reference > Classes > Display

DrawFont Property

Font used to draw the text.

Syntax

Public Property Get DrawFont() As HbFont
Public Property Let DrawFont(ByVal
eFont As HbFont)

ParameterDescription
eFontNew font.

Remarks

The DrawFont property specifies the font used by the TextOut method to draw the text. The eFont parameter should be one of the Font Constants possibly combined with one of the following constants:

Constant Value Description
hbFontUnderlineNone &H0000The text is not underlined.
hbFontUnderlineDotted&H0100The text is underlined with a dotted line.
hbFontUnderlineSolid&H0200The text is underlined with a solid line.

The hbFontUnderlineSolid is only supported in Palm OS® 3.5 and higher. On earlier versions, this constant causes the same effect as the hbFontUnderlineDotted constant.

Note: this property has no effect on the caption of the controls. To modify the font used by controls, you should use the Font property, when available.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A