This is a migrated thread and some comments may be shown as answers.

Print

3 Answers 141 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Srikanth
Top achievements
Rank 1
Srikanth asked on 03 Dec 2010, 06:16 PM
How do you print the Schedule view?
I don't want to print the actual screen ( using PrintVisual), but print the entire view?

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 10 Dec 2010, 12:47 PM
Hello Srikanth,

What do you mean by the entire view? Do you mean that you want to print the schedule view but with different size to fit the printable area? Is it possible to provide us with more details about the task? This will help us to provide you with more detailed instructions.

Greetings,
Rosi
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Srikanth
Top achievements
Rank 1
answered on 10 Dec 2010, 04:53 PM
What I mean is a View might have more than what you can see. Like you can scroll up and down or sideways.
When you use the printvisual, it only prints what's visible on the screen. Depending on the screen resolution and the the object height/width, print visual only prints what's visible on the screen. Like if you have a word document, you necessarily don't see everything, but when you print, it prints what ever you want. It could be 1 page or multiple pages.
0
Rosi
Telerik team
answered on 13 Dec 2010, 09:46 AM
Hello Srikanth,

I suggest you use the MinTimeRulerExtent and MaxTimeRulerExtent properties to modify the size of scheduleview to fit the available area. Then you can use the PrintVisual method to print the updated scheduleview and after that returning it to its original size. Please see the attached project for more details.

Kind regards,
Rosi
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
ScheduleView
Asked by
Srikanth
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Srikanth
Top achievements
Rank 1
Share this question
or