Skip to content

PrintCalendar2 Method

Description

Prints the current Calendar view.

Syntax

Public Sub PrintCalendar2( _
    ByVal ShowPrintDialog As Boolean _
)

Parameters

  • ShowPrintDialog: Set to True to show the custom print dialog (can manually be shown with ShowPrintPageSetup).

Remarks

A call to PrintCalendar2 will first open the custom print dialog (which can also be manually shown with ShowPrintPageSetup) before sending the current Calendar View directly to the printer.

The PrintOptions property can be used to customize how the Calendar View is printed when PrintCalendar is called. With PrintOptions, you can change the page margins, header font, and several other options.

The ShowPrintPageSetup method displays a custom "Page Setup" print dialog for the Calendar. The ShowPrintPageSetup dialog allows users to change all the properties of the PrintOptions object. All settings are stored in the PrintOptions object. When PrintCalendar2 is called, it will use the settings in PrintOptions.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.