Defines the default font used to display cell text.
Get
| C# | System.Drawing.Font refFontObj = object.Font; |
| VB.NET | refFontObj = object.Font As System.Drawing.Font |
| C++ | IFontDisp* refFontObj = object->GetFont(); |
| C | HRESULT object->get_Font(IFontDisp** refFontObj); |
Put
| C# | void object.let_Font(System.Drawing.Font refFontObj); |
| VB.NET | object.let_Font(ByVal refFontObj As System.Drawing.Font) |
| C++ | void object->PutFont(IFontDisp* refFontObj); |
| C | HRESULT object->put_Font(IFontDisp* refFontObj); |
PutRef
| C# | System.Drawing.Font object.Font = refFontObj; |
| VB.NET | object.Font = refFontObj As System.Drawing.Font |
| C++ | void object->PutRefFont(IFontDisp* refFontObj); |
| C | HRESULT object->putref_Font(IFontDisp* refFontObj); |
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 ...".
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.
See Also SftBox Object | Object Hierarchy