Printing with custom AppointmentBackgroundInfo

4 posts, 1 answers
  1. Oliver
    Oliver avatar
    17 posts
    Member since:
    Aug 2008

    Posted 12 Nov 2012 Link to this post

    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!
  2. Oliver
    Oliver avatar
    17 posts
    Member since:
    Aug 2008

    Posted 12 Nov 2012 Link to this post

    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?...
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Oliver
    Oliver avatar
    17 posts
    Member since:
    Aug 2008

    Posted 12 Nov 2012 Link to this post

    Solved by setting the GradientAngle to 270!
  5. Answer
    Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 14 Nov 2012 Link to this post

    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.
Back to Top