Defines the font used to display the item's cell text.
Deprecated - Provided for compatibility with earlier versions only - Use
VirtualItem.Item.Cell.Font instead
Syntax
|
Get
|
|
|
VB.NET
|
refFontObj = object.CellFont(ByVal ColIndex As Short) As stdole.IFontDisp
|
|
|
VB
|
Set refFontObj = object.CellFont(ByVal ColIndex As Integer) As IFontDisp
|
|
|
C#.NET
|
stdole.IFontDisp refFontObj = object.get_CellFont(short ColIndex);
|
|
|
VC++
|
IFontDisp* refFontObj = object->GetCellFont(short ColIndex);
|
|
|
C
|
HRESULT object->get_CellFont(short ColIndex, IFontDisp** refFontObj);
|
|
|
Delphi
|
refFontObj := object.CellFont[ColIndex : Smallint] : IFontDisp;
|
|
Put
|
|
|
VB.NET
|
object.let_CellFont(ByVal ColIndex As Short, ByVal refFontObj As stdole.IFontDisp)
|
|
|
VB
|
object.CellFont(ByVal ColIndex As Integer) = refFontObj As IFontDisp
|
|
|
C#.NET
|
void object.let_CellFont(short ColIndex, stdole.IFontDisp refFontObj);
|
|
|
VC++
|
void object->PutCellFont(short ColIndex, IFontDisp* refFontObj);
|
|
|
C
|
HRESULT object->put_CellFont(short ColIndex, IFontDisp* refFontObj);
|
|
|
Delphi
|
procedure object._Set_CellFont(ColIndex : Smallint, refFontObj : IFontDisp);
|
|
PutRef
|
|
|
VB.NET
|
object.CellFont(ByVal ColIndex As Short) = refFontObj As stdole.IFontDisp
|
|
|
VB
|
Set object.CellFont(ByVal ColIndex As Integer) = refFontObj As IFontDisp
|
|
|
C#.NET
|
void object.set_CellFont(short ColIndex, stdole.IFontDisp refFontObj);
|
|
|
VC++
|
void object->PutRefCellFont(short ColIndex, IFontDisp* refFontObj);
|
|
|
C
|
HRESULT object->putref_CellFont(short ColIndex, IFontDisp* refFontObj);
|
|
|
Delphi
|
object.CellFont[ColIndex : Smallint] := refFontObj : IFontDisp;
|
object
A VirtualItem object.
ColIndex
The zero-based column number. The combination of ColIndex and the VirtualItem event's
RowIndex parameter describes an individual cell.
refFontObj
Defines the font used to display the item's cell text. For
information about font properties, please visit the applicable section
"Using SftTree/OCX with ...".
Comments
Deprecated - Provided for compatibility with earlier versions only - Use
VirtualItem.Item.Cell.Font instead
The CellFont property defines the font used to display the item's cell text.
The VirtualItem.CellFont property is used while handling a VirtualItem event to define the font for the cell described by ColIndex
and the VirtualItem event's RowIndex parameter.
See Also VirtualItem Object | Object Hierarchy
virtitem_cellfont.htmlSftTreeOCX70_virtitem_cellfont.html
Feedback
/ comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com