SetTextFont Method

Navigation:  Reference Guide > Methods >

SetTextFont Method

Previous pageReturn to chapter overviewNext page

Sets the font characteristic of text in Access.

void SetTextFont(BSTR FontName, short FontSize, VARIANT_BOOL Bold, VARIANT_BOOL Italic);

Parameters

FontName

A string that contains the font name.

FontSize

Indicates the font size.

Bold

Indicates whether a bold style is applied to the font or not.

Italic

Indicates whether an italic style is applied to the font or not.