|
|
|
SftBoxCell.Font Property |
Defines the font used for this cell.
Syntax
VB.NET |
|||
VB |
Set refFontObj = object.Font As IFontDisp |
||
C#.NET |
|||
VC++ |
IFontDisp* refFontObj = object->GetFont(); |
||
C |
HRESULT object->get_Font(IFontDisp** refFontObj); |
||
Delphi |
|||
VB.NET |
|||
VB |
object.Font = refFontObj As IFontDisp |
||
C#.NET |
|||
VC++ |
void object->PutFont(IFontDisp* refFontObj); |
||
C |
HRESULT object->put_Font(IFontDisp* refFontObj); |
||
Delphi |
|||
VB.NET |
|||
VB |
Set object.Font = refFontObj As IFontDisp |
||
C#.NET |
|||
VC++ |
void object->PutRefFont(IFontDisp* refFontObj); |
||
C |
HRESULT object->putref_Font(IFontDisp* refFontObj); |
||
Delphi |
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.