Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I print a date range while the calendar is in single month view?

calendar month print range view
0
Posted

How can I print a date range while the calendar is in single month view?

0

I would like to be able to print automatically all the months for a given start date and end date. Currently, I can only print the current month. I was able to create a routine that loops through a given date range and switches the calendar to each month, and then fires the Calendar.Print method. The only problem is that the print dialog pops up every time the month changes and the print method is fired. A: Try using the void Print(PrintDocument doc) overloaded method. It won’t display a dialog but just use the printer specified in doc.PrinterSettings. By default, that’s the system default printer, but you can change it if you wish.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123