HeaderPane
Main
Hide
Share Link
Print

Font Property, SftDateCalendar Object

Defines the font of the days (Nothing for the control's font).

Syntax

Get

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

Put

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

PutRef

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

object

A SftDateCalendar object.

refFontObj

Defines the font of the days. For information about font properties, please visit the applicable section "Using SftDate/OCX with ...".

Comments

The Font property defines the font of a calendar's days. By default (Nothing) a calendar uses the control's font (SftCalendar.Font, SftDate.Font). p The bold version of the font is used for special dates and the title, unless a title font is defined using TitleFont. The dropdown calendar of a date field control scales the font if the dropdown opens on a monitor with another DPI. p The setting applies to a month calendar control and to the dropdown calendar of a date field control.

See Also SftDateCalendar Object | Object Hierarchy | Calendar Components


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