Search
Calendar.printPreview Method
See Also
 






Displays a print preview of the calendar.

 Overload List

Name Description

Calendar.printPreview ()

Displays a print preview window, that shows how the calendar would look when printed on paper. The preview is rendered with the same settings that are used for printing, assigned via getPrintOptions. That ensures uniform output of the printed document both on paper and in the preview window. Print job settings include document title and several flags that control whether images, shadows, headers, etc. are printed.

Calendar.printPreview (PageFormat)

Displays a print preview window, that shows how the calendar would look when printed on paper. The preview is rendered with the same settings that are used for printing, assigned via getPrintOptions. That ensures uniform output of the printed document both on paper and in the preview window. Print job settings include document title and several flags that control whether images, shadows, headers, etc. are printed.

 See Also