Compartilhar via


_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)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DayWeekTimeFont As ViewFont
    Get
'Usage
Dim instance As _CalendarView
Dim value As ViewFont

value = instance.DayWeekTimeFont
[DispIdAttribute()]
ViewFont DayWeekTimeFont { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.ViewFont

Remarks

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.

Note

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.

See Also

Reference

_CalendarView Interface

_CalendarView Members

Microsoft.Office.Interop.Outlook Namespace