Help Center

CellFontWidthproperty

Returns or sets the width, in points, for the current cell text.

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 FontWidth () AS SINGLE
PROPERTY FontWidth (BYVAL nWidth AS SINGLE)

Parameters

NameDescription
nWidthThe font width, in points.

Description

Returns or sets the width, in points, for the current cell text.

Remarks

The following code sets the width of the text of the current cell when the MSHFlexGrid is in focus.

Example

grid.CellFontWidth = 5

Reference