|
|
|
SftBox.Font Property |
Defines the default font used to display cell text.
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 SftBox object.
refFontObj
Defines the default font used to display cell text. For information about font properties, please visit the applicable section "Using SftBox/OCX with ...".
Comments
The Font property defines the default font used to display cell text.
The Cell.Font property can be used to override an individual cell's font. The Headers.Font and RowHeaders.Font properties are used to define the fonts used to display the column and row headers.
The font used for the edit control portion is defined using the Edit.Font property.