This documentation is archived and is not being maintained.

_CalendarView.DayWeekTimeFont Property

Returns a ViewFont object that represents the font used when displaying the hour portion of the time headers in a specified day for the CalendarView object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

ViewFont DayWeekTimeFont { get; }

The value of this property also represents the font used to display the Tasks header when the CalendarViewMode property of the CalendarView object is set to either olCalendarViewDay, olCalendarViewMultiDay, olCalendarViewWeek, or olCalendarView5DayWeek.


Setting the Size property value of the ViewFont object for this property has no effect, because the font size for the hour portion of the time headers is automatically set by Outlook based on the size of the font specified in the DayWeekFont property of the CalendarView object.