Defines the font used for this cell.
Get
| C# | stdole.IFontDisp refFontObj = object.Font; |
| VB.NET | refFontObj = object.Font As stdole.IFontDisp |
| C++ | IFontDisp* refFontObj = object->GetFont(); |
| C | HRESULT object->get_Font(IFontDisp** refFontObj); |
Put
| C# | void object.let_Font(stdole.IFontDisp refFontObj); |
| VB.NET | object.let_Font(ByVal refFontObj As stdole.IFontDisp) |
| C++ | void object->PutFont(IFontDisp* refFontObj); |
| C | HRESULT object->put_Font(IFontDisp* refFontObj); |
PutRef
| C# | stdole.IFontDisp object.Font = refFontObj; |
| VB.NET | object.Font = refFontObj As stdole.IFontDisp |
| C++ | void object->PutRefFont(IFontDisp* refFontObj); |
| C | HRESULT object->putref_Font(IFontDisp* refFontObj); |
object
refFontObj
Defines the font used for this cell. For information about font properties, please visit the applicable section "Using SftBox/OCX with ...".
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