Help Center

Fontproperty

Returns or sets the default font, or the font for individual cells.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY Font () AS IFont PTR
PROPERTY Font (BYVAL pFont AS IFont PTR)

Parameters

NameDescription
pFontPointer to an IFont inerface.

Description

Returns or sets the default font, or the font for individual cells.

Remarks

Changing font size does not always automatically resize the row. You may need to manually adjust the RowHeight property if the text becomes clipped.

Use FontBand or FontHeader to set fonts for specific bands in hierarchical data structures.

In modern Windows environments, ensure your selected font is a standard TrueType font to maintain consistent scaling on high-resolution displays.

Reference