|
|
|
SftTree.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 |
refFontObj := object.Font : TFont; |
||
VB.NET |
|||
VB |
object.Font = refFontObj As IFontDisp |
||
C#.NET |
|||
VC++ |
void object->PutFont(IFontDisp* refFontObj); |
||
C |
HRESULT object->put_Font(IFontDisp* refFontObj); |
||
Delphi |
procedure object._Set_Font(refFontObj : TFont); |
||
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.Font := refFontObj : TFont; |
object
A SftTree object.
refFontObj
Defines the default font used to display cell text. For information about font properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The Font property defines the default font used to display cell text.
The Font property defines the default font used for all cells. The height for items is calculated based on the Font and Items.Lines properties so that cell text is never clipped vertically, unless multi-line text is used with more lines than defined using the Items.Lines property.
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.
See Also SftTree Object | Object Hierarchy