Defines the font of the days (Nothing for the control's font).
Get
| C# | stdole.IFontDisp refFontObj = object.Font; |
| VB.NET | refFontObj = object.Font As stdole.IFontDisp |
| C++ | IFontDisp* refFontObj = object->GetFont(); |
| C | HRESULT object->get_Font(IFontDisp** refFontObj); |
Put
| C# | void object.let_Font(stdole.IFontDisp refFontObj); |
| VB.NET | object.let_Font(ByVal refFontObj As stdole.IFontDisp) |
| C++ | void object->PutFont(IFontDisp* refFontObj); |
| C | HRESULT object->put_Font(IFontDisp* refFontObj); |
PutRef
| C# | stdole.IFontDisp object.Font = refFontObj; |
| VB.NET | object.Font = refFontObj As stdole.IFontDisp |
| C++ | void object->PutRefFont(IFontDisp* refFontObj); |
| C | HRESULT object->putref_Font(IFontDisp* refFontObj); |
object
refFontObj
Defines the font of the days. For information about font properties, please visit the applicable section "Using SftDate/OCX with ...".
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