Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColHeaderFont Property, SftTree Object

Defines the font used for all column headers.

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Font instead

Syntax

Get

VB.NETrefFontObj = object.ColHeaderFont As System.Drawing.Font
VBSet refFontObj = object.ColHeaderFont As IFontDisp
C#.NETSystem.Drawing.Font refFontObj = object.ColHeaderFont;
VC++IFontDisp* refFontObj = object->GetColHeaderFont();
CHRESULT object->get_ColHeaderFont(IFontDisp** refFontObj);

Put

VB.NETobject.let_ColHeaderFont(ByVal refFontObj As System.Drawing.Font)
VBobject.ColHeaderFont = refFontObj As IFontDisp
C#.NETvoid object.let_ColHeaderFont(System.Drawing.Font refFontObj);
VC++void object->PutColHeaderFont(IFontDisp* refFontObj);
CHRESULT object->put_ColHeaderFont(IFontDisp* refFontObj);

PutRef

VB.NETobject.ColHeaderFont = refFontObj As System.Drawing.Font
VBSet object.ColHeaderFont = refFontObj As IFontDisp
C#.NETSystem.Drawing.Font object.ColHeaderFont = refFontObj;
VC++void object->PutRefColHeaderFont(IFontDisp* refFontObj);
CHRESULT object->putref_ColHeaderFont(IFontDisp* refFontObj);

object

A SftTree object.

refFontObj

Defines the font used for all column headers. For information about font properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Font instead

The ColHeaderFont property defines the font used for all column headers.

The ColHeaderFont property is used to change the font for all column headers and the row/column header.

Using PutRef (see Syntax above) the control will use the reference to the Font object. If the Font object is later changed, this will also affect the font used by the control. Using Put instead causes the control to create a copy of the Font object. If the Font object is later changed, this will not affect the font used by the control as it uses a copy of the object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.

See Also SftTree Object | Object Hierarchy


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