SftBox/OCX 4.5

SftBox.Font Property

Softel vdm, Inc.

Defines the default font used to display cell text.

Syntax       

Get

VB.NET

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

VB

Set refFontObj = object.Font  As IFontDisp

C#.NET

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

VC++

IFontDisp* refFontObj = object->GetFont();

C

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

Delphi

refFontObj := object.Font  : TFontLanguage-specific information;

Put

VB.NET

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

VB

object.Font = refFontObj  As IFontDisp

C#.NET

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

VC++

void object->PutFont(IFontDisp* refFontObj);

C

HRESULT object->put_Font(IFontDisp* refFontObj);

Delphi

procedure object._Set_Font(refFontObj : TFontLanguage-specific information);

PutRef

VB.NET

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

VB

Set object.Font = refFontObj  As IFontDisp

C#.NET

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

VC++

void object->PutRefFont(IFontDisp* refFontObj);

C

HRESULT object->putref_Font(IFontDisp* refFontObj);

Delphi

object.Font := refFontObj  : TFontLanguage-specific information;

object

A SftBox object.

refFontObj

Defines the default font used to display cell text. For information about font properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The Font property defines the default font used to display cell text.

The Cell.Font property can be used to override an individual cell's font. The Headers.Font and RowHeaders.Font properties are used to define the fonts used to display the column and row headers.

The font used for the edit control portion is defined using the Edit.Font property.


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