NumberOfUnits Property (CalendarView Object)

The NumberOfUnits property returns or sets the number of time units to include in a rendering. Read/write.

Syntax

objCalendarView.NumberOfUnits

Data Type

Long

Remarks

The NumberOfUnits and Mode properties together determine the overall time span of the calendar view, that is, the total amount of time rendered onto one HTML page. NumberOfUnits defaults to 1.

For example, if Mode contains CdoModeCalendarWeeky and NumberOfUnits is set to 2, each output page displays two weeks of calendar time.