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

Printing with custom AppointmentBackgroundInfo

3 Answers 87 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 12 Nov 2012, 06:57 PM
When I try to print schedules with my RadScheduler, my appointments which all use custom background ids do not show up in color.  If I use the Telerik-provided background ids they come up fine.  Is there some property in an AppointmentBackgroundInfo instance that I'm not seeing that I need to set for it to show up in a PrintPreview/Print?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Oliver
Top achievements
Rank 1
answered on 12 Nov 2012, 09:22 PM
Solved it... turns out when you use the AppointmentBackgroundInfo constructor that takes four colors, the first is used as the fill color for print previews/printing and I was setting this to Color.White.  However, I was doing that to do a gradient of white into the second color from top to bottom, and now the colors are flip-flopped.  What if I want the top gradient color to be white?...
0
Oliver
Top achievements
Rank 1
answered on 12 Nov 2012, 09:27 PM
Solved by setting the GradientAngle to 270!
0
Accepted
Ivan Todorov
Telerik team
answered on 14 Nov 2012, 12:59 PM
Hello,

I can confirm that this is the right way to go with this case and I am glad that you have managed to sort this out.

If you have any future questions, do not hesitate to contact us.

Greetings,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Scheduler and Reminder
Asked by
Oliver
Top achievements
Rank 1
Answers by
Oliver
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or