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)

[DispIdAttribute()]
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.

NoteNote

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.

Show: