Print Page | Close Window

Get visible time range

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=16896
Printed Date: 06 October 2024 at 12:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Get visible time range
Posted By: jgordon428
Subject: Get visible time range
Date Posted: 30 June 2010 at 2:41pm
Is there anyway to determine the time range that is visible on the schedule? When I do a print or print preview, I want to set:

CalendarControl.PrintOptions.PrintFromToExactly = True
CalendarControl.PrintOptions.PrintFrom = "8:00AM" 'NEED TO GET VISIBLE START TIME
CalendarControl.PrintOptions.PrintTo = "5:00PM" 'NEED TO GET VISIBLE END TIME

I can't seem to figure out where this property is.

Also, if I have CalendarControl.PrintOptions.PrintFromToExactly = True, whenever I return from print preview, it returns the scheduler display all the way to the top (12am). I can avoid this behavior by setting CalendarControl.PrintOptions.PrintFromToExactly = False, however then I can't set the start and end times to display.

Thank you.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net