HeaderPane
Main
Hide
Share Link
Print

Font Property, SftBox Object

Defines the default font used to display cell text.

Syntax

Get

C#System.Drawing.Font refFontObj = object.Font;
VB.NETrefFontObj = object.Font As System.Drawing.Font
C++IFontDisp* refFontObj = object->GetFont();
CHRESULT object->get_Font(IFontDisp** refFontObj);

Put

C#void object.let_Font(System.Drawing.Font refFontObj);
VB.NETobject.let_Font(ByVal refFontObj As System.Drawing.Font)
C++void object->PutFont(IFontDisp* refFontObj);
CHRESULT object->put_Font(IFontDisp* refFontObj);

PutRef

C#System.Drawing.Font object.Font = refFontObj;
VB.NETobject.Font = refFontObj As System.Drawing.Font
C++void object->PutRefFont(IFontDisp* refFontObj);
CHRESULT object->putref_Font(IFontDisp* refFontObj);

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.

See Also SftBox Object | Object Hierarchy


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.