Fontproperty
Returns or sets the default font, or the font for individual cells.
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
| Name | Description | |
|---|---|---|
pFont | Pointer 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
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid