Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Font Property, SftTreeHeaders Object

Defines the font used for all column headers.

Syntax

Get

VB.NETrefFontObj = object.Font As stdole.IFontDisp
VBSet refFontObj = object.Font As IFontDisp
C#.NETstdole.IFontDisp refFontObj = object.Font;
VC++IFontDisp* refFontObj = object->GetFont();
CHRESULT object->get_Font(IFontDisp** refFontObj);

Put

VB.NETobject.let_Font(ByVal refFontObj As stdole.IFontDisp)
VBobject.Font = refFontObj As IFontDisp
C#.NETvoid object.let_Font(stdole.IFontDisp refFontObj);
VC++void object->PutFont(IFontDisp* refFontObj);
CHRESULT object->put_Font(IFontDisp* refFontObj);

PutRef

VB.NETobject.Font = refFontObj As stdole.IFontDisp
VBSet object.Font = refFontObj As IFontDisp
C#.NETstdole.IFontDisp object.Font = refFontObj;
VC++void object->PutRefFont(IFontDisp* refFontObj);
CHRESULT object->putref_Font(IFontDisp* refFontObj);

object

A SftTreeHeaders 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

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

The Font property is used to change the font for all column headers and the row/column header. Individual column headers cannot override the 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 SftTreeHeaders Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.