Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowHeaderFont Property, SftTree Object

Defines the row header font.

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

Syntax

Get

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

Put

VB.NETobject.let_RowHeaderFont(ByVal refFontObj As System.Drawing.Font)
VBobject.RowHeaderFont = refFontObj As IFontDisp
C#.NETvoid object.let_RowHeaderFont(System.Drawing.Font refFontObj);
VC++void object->PutRowHeaderFont(IFontDisp* refFontObj);
CHRESULT object->put_RowHeaderFont(IFontDisp* refFontObj);

PutRef

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

object

A SftTree object.

refFontObj

Defines the row header font. For information about font properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

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

The RowHeaderFont property defines the row header font.

All row headers use the defined font. Individual items cannot override the default font.

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.