SftTree/OCX 7.0

SftTree.RowHeaderFont Property

Softel vdm, Inc.

Defines the row header font.

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

Syntax       

Get

VB.NET

refFontObj = object.RowHeaderFont  As System.Drawing.FontLanguage-specific information

VB

Set refFontObj = object.RowHeaderFont  As IFontDisp

C#.NET

System.Drawing.FontLanguage-specific information refFontObj = object.RowHeaderFont;

VC++

IFontDisp* refFontObj = object->GetRowHeaderFont();

C

HRESULT object->get_RowHeaderFont(IFontDisp** refFontObj);

Delphi

refFontObj := object.RowHeaderFont  : TFont;

Put

VB.NET

object.let_RowHeaderFont(ByVal refFontObj As System.Drawing.FontLanguage-specific information)

VB

object.RowHeaderFont = refFontObj  As IFontDisp

C#.NET

void object.let_RowHeaderFont(System.Drawing.FontLanguage-specific information refFontObj);

VC++

void object->PutRowHeaderFont(IFontDisp* refFontObj);

C

HRESULT object->put_RowHeaderFont(IFontDisp* refFontObj);

Delphi

procedure object._Set_RowHeaderFont(refFontObj : TFont);

PutRef

VB.NET

object.RowHeaderFont = refFontObj  As System.Drawing.FontLanguage-specific information

VB

Set object.RowHeaderFont = refFontObj  As IFontDisp

C#.NET

System.Drawing.FontLanguage-specific information object.RowHeaderFont = refFontObj;

VC++

void object->PutRefRowHeaderFont(IFontDisp* refFontObj);

C

HRESULT object->putref_RowHeaderFont(IFontDisp* refFontObj);

Delphi

object.RowHeaderFont := refFontObj  : TFont;

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com