HeaderPane
Main
Hide
Share Link
Print

Font Property, SftBoxCell Object

Defines the font used for this cell.

Syntax

Get

C#stdole.IFontDisp refFontObj = object.Font;
VB.NETrefFontObj = object.Font As stdole.IFontDisp
C++IFontDisp* refFontObj = object->GetFont();
CHRESULT object->get_Font(IFontDisp** refFontObj);

Put

C#void object.let_Font(stdole.IFontDisp refFontObj);
VB.NETobject.let_Font(ByVal refFontObj As stdole.IFontDisp)
C++void object->PutFont(IFontDisp* refFontObj);
CHRESULT object->put_Font(IFontDisp* refFontObj);

PutRef

C#stdole.IFontDisp object.Font = refFontObj;
VB.NETobject.Font = refFontObj As stdole.IFontDisp
C++void object->PutRefFont(IFontDisp* refFontObj);
CHRESULT object->putref_Font(IFontDisp* refFontObj);

object

A SftBoxCell object.

refFontObj

Defines the font used for this cell. For information about font properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The Font property defines the font used for this cell.

This property overrides the control's Font property, the default font. To remove an individual cell's font, set the property to Nothing (0, null, NULL) which will restore the default font defined using the Font property.

When overriding a cell's font in a fixed height combo box control, the new font size must be smaller or equal to the default font, otherwise text may be clipped vertically as the item height cannot be adjusted. Cell text is centered vertically and horizontally based on the Cell.TextVAlign and Cell.TextHAlign properties.

See Also SftBoxCell Object | Object Hierarchy


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.