Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellFont Property, VirtualItem Object

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.NETrefFontObj = object.CellFont(ByVal ColIndex As Short) As stdole.IFontDisp
VBSet refFontObj = object.CellFont(ByVal ColIndex As Integer) As IFontDisp
C#.NETstdole.IFontDisp refFontObj = object.get_CellFont(short ColIndex);
VC++IFontDisp* refFontObj = object->GetCellFont(short ColIndex);
CHRESULT object->get_CellFont(short ColIndex, IFontDisp** refFontObj);

Put

VB.NETobject.let_CellFont(ByVal ColIndex As Short, ByVal refFontObj As stdole.IFontDisp)
VBobject.CellFont(ByVal ColIndex As Integer) = refFontObj As IFontDisp
C#.NETvoid object.let_CellFont(short ColIndex, stdole.IFontDisp refFontObj);
VC++void object->PutCellFont(short ColIndex, IFontDisp* refFontObj);
CHRESULT object->put_CellFont(short ColIndex, IFontDisp* refFontObj);

PutRef

VB.NETobject.CellFont(ByVal ColIndex As Short) = refFontObj As stdole.IFontDisp
VBSet object.CellFont(ByVal ColIndex As Integer) = refFontObj As IFontDisp
C#.NETvoid object.set_CellFont(short ColIndex, stdole.IFontDisp refFontObj);
VC++void object->PutRefCellFont(short ColIndex, IFontDisp* refFontObj);
CHRESULT object->putref_CellFont(short ColIndex, IFontDisp* refFontObj);

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


Last Updated 08/13/2020 - (email)
© 2021 Softel vdm, Inc.