FontBold Property

FontBold Property

See Also         Example         Applies To

You can use the FontBold property to specify whether a font appears in a bold style in the following situations:

Setting

The FontBold property uses the following settings.

Setting Description
True (–1) The text is bold.
False (0) (Default) The text isn't bold.

You can set the FontBold property only by using a macro or Visual Basic.

Remarks

To use the FontBold property on a report, first create a Print event procedure that prints the desired text.

A font's appearance on screen and in print may differ, depending on your computer and printer.

The FontWeight property, which is available in the property sheet for controls, can also be used to set the line width for a control's text. The FontBold property gives you a quick way to make text bold; the FontWeight property gives you finer control over the line width setting for text. The following table shows the relationship between these properties' settings.

If Then
FontBold = False FontWeight = Normal (400)
FontBold = True FontWeight = Bold (700)
FontWeight < 700 FontBold = False
FontWeight > = 700 FontBold = True